@gobodo/gobodo-api-promise 0.1.225 → 0.1.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/ApiClient.d.ts +1 -1
- package/dist/ApiClient.js +3 -3
- package/dist/api/AIApi.d.ts +43 -135
- package/dist/api/AIApi.d.ts.map +1 -1
- package/dist/api/AIApi.js +45 -44
- package/dist/api/AIConversationsApi.d.ts +70 -210
- package/dist/api/AIConversationsApi.d.ts.map +1 -1
- package/dist/api/AIConversationsApi.js +72 -71
- package/dist/api/AILaunchTemplatesApi.d.ts +34 -100
- package/dist/api/AILaunchTemplatesApi.d.ts.map +1 -1
- package/dist/api/AILaunchTemplatesApi.js +36 -35
- package/dist/api/AIPersonasApi.d.ts +100 -302
- package/dist/api/AIPersonasApi.d.ts.map +1 -1
- package/dist/api/AIPersonasApi.js +102 -101
- package/dist/api/APIClientTenantsApi.d.ts +16 -59
- package/dist/api/APIClientTenantsApi.d.ts.map +1 -1
- package/dist/api/AbilitiesApi.d.ts +10 -28
- package/dist/api/AbilitiesApi.d.ts.map +1 -1
- package/dist/api/AbilitiesApi.js +12 -11
- package/dist/api/ActionTypesApi.d.ts +1 -1
- package/dist/api/AdCampaignsApi.d.ts +22 -68
- package/dist/api/AdCampaignsApi.d.ts.map +1 -1
- package/dist/api/AdCampaignsApi.js +24 -23
- package/dist/api/AdManagementApi.d.ts +37 -115
- package/dist/api/AdManagementApi.d.ts.map +1 -1
- package/dist/api/AdManagementApi.js +39 -38
- package/dist/api/AdminAPIClientConfigApi.d.ts +7 -19
- package/dist/api/AdminAPIClientConfigApi.d.ts.map +1 -1
- package/dist/api/AdminAPIClientConfigApi.js +9 -8
- package/dist/api/AdminDataManagementApi.d.ts +4 -10
- package/dist/api/AdminDataManagementApi.d.ts.map +1 -1
- package/dist/api/AdminDataManagementApi.js +6 -5
- package/dist/api/AdminRequestLogConfigApi.d.ts +7 -19
- package/dist/api/AdminRequestLogConfigApi.d.ts.map +1 -1
- package/dist/api/AdminRequestLogConfigApi.js +9 -8
- package/dist/api/AdsApi.d.ts +16 -48
- package/dist/api/AdsApi.d.ts.map +1 -1
- package/dist/api/AdsApi.js +18 -17
- package/dist/api/ApcopayApi.d.ts +34 -115
- package/dist/api/ApcopayApi.d.ts.map +1 -1
- package/dist/api/ApcopayApi.js +36 -35
- package/dist/api/ApiClientTenantsApi.js +18 -17
- package/dist/api/ApprovalsApi.d.ts +37 -111
- package/dist/api/ApprovalsApi.d.ts.map +1 -1
- package/dist/api/ApprovalsApi.js +39 -38
- package/dist/api/AttachmentsApi.d.ts +6 -6
- package/dist/api/AuthenticationApi.d.ts +12 -12
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/AutomationInvokeApi.d.ts +4 -10
- package/dist/api/AutomationInvokeApi.d.ts.map +1 -1
- package/dist/api/AutomationInvokeApi.js +6 -5
- package/dist/api/AutomationRulesApi.d.ts +25 -74
- package/dist/api/AutomationRulesApi.d.ts.map +1 -1
- package/dist/api/AutomationRulesApi.js +27 -26
- package/dist/api/AutomationTemplatesApi.d.ts +22 -69
- package/dist/api/AutomationTemplatesApi.d.ts.map +1 -1
- package/dist/api/AutomationTemplatesApi.js +24 -23
- package/dist/api/BatchApi.d.ts +46 -163
- package/dist/api/BatchApi.d.ts.map +1 -1
- package/dist/api/BatchApi.js +48 -47
- package/dist/api/CategoriesApi.d.ts +22 -65
- package/dist/api/CategoriesApi.d.ts.map +1 -1
- package/dist/api/CategoriesApi.js +24 -23
- package/dist/api/CircleAccountsApi.d.ts +31 -96
- package/dist/api/CircleAccountsApi.d.ts.map +1 -1
- package/dist/api/CircleAccountsApi.js +33 -32
- package/dist/api/CommentsApi.d.ts +34 -107
- package/dist/api/CommentsApi.d.ts.map +1 -1
- package/dist/api/CommentsApi.js +36 -35
- package/dist/api/ContentManagementApi.d.ts +94 -281
- package/dist/api/ContentManagementApi.d.ts.map +1 -1
- package/dist/api/ContentManagementApi.js +96 -95
- package/dist/api/ConversationsApi.d.ts +28 -88
- package/dist/api/ConversationsApi.d.ts.map +1 -1
- package/dist/api/ConversationsApi.js +30 -29
- package/dist/api/CurrencyApi.d.ts +25 -76
- package/dist/api/CurrencyApi.d.ts.map +1 -1
- package/dist/api/CurrencyApi.js +27 -26
- package/dist/api/DataSheetImportsApi.d.ts +46 -139
- package/dist/api/DataSheetImportsApi.d.ts.map +1 -1
- package/dist/api/DataSheetImportsApi.js +48 -47
- package/dist/api/DataSyncApi.d.ts +34 -102
- package/dist/api/DataSyncApi.d.ts.map +1 -1
- package/dist/api/DataSyncApi.js +36 -35
- package/dist/api/DefaultApi.d.ts +32 -100
- package/dist/api/DefaultApi.d.ts.map +1 -1
- package/dist/api/DefaultApi.js +33 -32
- package/dist/api/DocumentPartTypesApi.d.ts +16 -46
- package/dist/api/DocumentPartTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentPartTypesApi.js +18 -17
- package/dist/api/DocumentPartsApi.d.ts +34 -100
- package/dist/api/DocumentPartsApi.d.ts.map +1 -1
- package/dist/api/DocumentPartsApi.js +36 -35
- package/dist/api/DocumentTypesApi.d.ts +7 -19
- package/dist/api/DocumentTypesApi.d.ts.map +1 -1
- package/dist/api/DocumentTypesApi.js +9 -8
- package/dist/api/DocumentsApi.d.ts +70 -224
- package/dist/api/DocumentsApi.d.ts.map +1 -1
- package/dist/api/DocumentsApi.js +72 -71
- package/dist/api/DynamoDBSyncApi.d.ts +10 -35
- package/dist/api/DynamoDBSyncApi.d.ts.map +1 -1
- package/dist/api/DynamoDBSyncApi.js +12 -11
- package/dist/api/EmailApi.d.ts +4 -10
- package/dist/api/EmailApi.d.ts.map +1 -1
- package/dist/api/EmailApi.js +6 -5
- package/dist/api/EmailsApi.d.ts +13 -37
- package/dist/api/EmailsApi.d.ts.map +1 -1
- package/dist/api/EmailsApi.js +15 -14
- package/dist/api/EntryPartsApi.d.ts +37 -109
- package/dist/api/EntryPartsApi.d.ts.map +1 -1
- package/dist/api/EntryPartsApi.js +39 -38
- package/dist/api/FacebookApi.d.ts +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.d.ts +43 -127
- package/dist/api/FieldsApi.d.ts.map +1 -1
- package/dist/api/FieldsApi.js +45 -44
- package/dist/api/FilesApi.d.ts +22 -91
- package/dist/api/FilesApi.d.ts.map +1 -1
- package/dist/api/FilesApi.js +24 -23
- package/dist/api/FormsApi.d.ts +43 -127
- package/dist/api/FormsApi.d.ts.map +1 -1
- package/dist/api/FormsApi.js +45 -44
- package/dist/api/FunctionsApi.d.ts +79 -238
- package/dist/api/FunctionsApi.d.ts.map +1 -1
- package/dist/api/FunctionsApi.js +81 -80
- package/dist/api/GeocodeApi.d.ts +10 -28
- package/dist/api/GeocodeApi.d.ts.map +1 -1
- package/dist/api/GeocodeApi.js +12 -11
- package/dist/api/GobodoFlowN8nCatalogApi.d.ts +7 -24
- package/dist/api/GobodoFlowN8nCatalogApi.d.ts.map +1 -1
- package/dist/api/GobodoFlowN8nCatalogApi.js +9 -8
- package/dist/api/GobodoFlowWebhooksApi.d.ts +22 -71
- package/dist/api/GobodoFlowWebhooksApi.d.ts.map +1 -1
- package/dist/api/GobodoFlowWebhooksApi.js +24 -23
- package/dist/api/GobodoFlowsApi.d.ts +55 -167
- package/dist/api/GobodoFlowsApi.d.ts.map +1 -1
- package/dist/api/GobodoFlowsApi.js +57 -56
- package/dist/api/GobodoManagementApi.d.ts +61 -181
- package/dist/api/GobodoManagementApi.d.ts.map +1 -1
- package/dist/api/GobodoManagementApi.js +63 -62
- package/dist/api/GoogleApi.d.ts +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.d.ts +67 -210
- package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
- package/dist/api/GraphActionTypesApi.js +69 -68
- package/dist/api/GraphActionsApi.d.ts +58 -227
- package/dist/api/GraphActionsApi.d.ts.map +1 -1
- package/dist/api/GraphActionsApi.js +60 -59
- package/dist/api/GraphObjectPermissionsApi.d.ts +61 -197
- package/dist/api/GraphObjectPermissionsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectPermissionsApi.js +63 -62
- package/dist/api/GraphObjectTypesApi.d.ts +115 -369
- package/dist/api/GraphObjectTypesApi.d.ts.map +1 -1
- package/dist/api/GraphObjectTypesApi.js +117 -116
- package/dist/api/GraphObjectsApi.d.ts +190 -748
- package/dist/api/GraphObjectsApi.d.ts.map +1 -1
- package/dist/api/GraphObjectsApi.js +192 -191
- package/dist/api/GraphRelationshipTypesApi.d.ts +91 -303
- package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipTypesApi.js +93 -92
- package/dist/api/GraphRelationshipsApi.d.ts +91 -357
- package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
- package/dist/api/GraphRelationshipsApi.js +93 -92
- package/dist/api/GraphSchemasApi.d.ts +73 -229
- package/dist/api/GraphSchemasApi.d.ts.map +1 -1
- package/dist/api/GraphSchemasApi.js +75 -74
- package/dist/api/GraphTraversalApi.d.ts +25 -115
- package/dist/api/GraphTraversalApi.d.ts.map +1 -1
- package/dist/api/GraphTraversalApi.js +27 -26
- package/dist/api/GraphsApi.d.ts +94 -318
- package/dist/api/GraphsApi.d.ts.map +1 -1
- package/dist/api/GraphsApi.js +96 -95
- package/dist/api/GroupsApi.d.ts +11 -11
- package/dist/api/IAMApi.d.ts +4 -4
- package/dist/api/ImagesApi.d.ts +19 -82
- package/dist/api/ImagesApi.d.ts.map +1 -1
- package/dist/api/ImagesApi.js +21 -20
- package/dist/api/IntegrationsApi.d.ts +37 -116
- package/dist/api/IntegrationsApi.d.ts.map +1 -1
- package/dist/api/IntegrationsApi.js +39 -38
- package/dist/api/InvitesApi.d.ts +16 -46
- package/dist/api/InvitesApi.d.ts.map +1 -1
- package/dist/api/InvitesApi.js +18 -17
- package/dist/api/LaunchTemplatesApi.d.ts +49 -167
- package/dist/api/LaunchTemplatesApi.d.ts.map +1 -1
- package/dist/api/LaunchTemplatesApi.js +51 -50
- package/dist/api/LegacyAdministratorsApi.d.ts +28 -85
- package/dist/api/LegacyAdministratorsApi.d.ts.map +1 -1
- package/dist/api/LegacyAdministratorsApi.js +30 -29
- package/dist/api/LikesApi.d.ts +40 -118
- package/dist/api/LikesApi.d.ts.map +1 -1
- package/dist/api/LikesApi.js +42 -41
- package/dist/api/LinkedINApi.d.ts +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LinksApi.d.ts +28 -89
- package/dist/api/LinksApi.d.ts.map +1 -1
- package/dist/api/LinksApi.js +30 -29
- package/dist/api/LiveMeetingsApi.d.ts +7 -19
- package/dist/api/LiveMeetingsApi.d.ts.map +1 -1
- package/dist/api/LiveMeetingsApi.js +9 -8
- package/dist/api/MeetingEventsApi.d.ts +76 -281
- package/dist/api/MeetingEventsApi.d.ts.map +1 -1
- package/dist/api/MeetingEventsApi.js +78 -77
- package/dist/api/MenuItemsApi.d.ts +19 -56
- package/dist/api/MenuItemsApi.d.ts.map +1 -1
- package/dist/api/MenuItemsApi.js +21 -20
- package/dist/api/MenusApi.d.ts +19 -56
- package/dist/api/MenusApi.d.ts.map +1 -1
- package/dist/api/MenusApi.js +21 -20
- package/dist/api/NotificationsApi.d.ts +43 -133
- package/dist/api/NotificationsApi.d.ts.map +1 -1
- package/dist/api/NotificationsApi.js +45 -44
- package/dist/api/PageLayoutsApi.d.ts +31 -106
- package/dist/api/PageLayoutsApi.d.ts.map +1 -1
- package/dist/api/PageLayoutsApi.js +33 -32
- package/dist/api/PagesApi.d.ts +55 -186
- package/dist/api/PagesApi.d.ts.map +1 -1
- package/dist/api/PagesApi.js +57 -56
- package/dist/api/PasswordResetApi.d.ts +2 -2
- package/dist/api/PasswordResetApi.js +2 -2
- package/dist/api/PayPalAccountsApi.d.ts +3 -3
- package/dist/api/PaymentRoutingApi.d.ts +113 -0
- package/dist/api/PaymentRoutingApi.d.ts.map +1 -0
- package/dist/api/PaymentRoutingApi.js +210 -0
- package/dist/api/PhoneNumbersApi.d.ts +16 -49
- package/dist/api/PhoneNumbersApi.d.ts.map +1 -1
- package/dist/api/PhoneNumbersApi.js +18 -17
- package/dist/api/PostsApi.d.ts +28 -91
- package/dist/api/PostsApi.d.ts.map +1 -1
- package/dist/api/PostsApi.js +30 -29
- package/dist/api/PrivateMessagesApi.d.ts +52 -160
- package/dist/api/PrivateMessagesApi.d.ts.map +1 -1
- package/dist/api/PrivateMessagesApi.js +54 -53
- package/dist/api/ProcessDefinitionsApi.d.ts +22 -65
- package/dist/api/ProcessDefinitionsApi.d.ts.map +1 -1
- package/dist/api/ProcessDefinitionsApi.js +24 -23
- package/dist/api/ProxyServersApi.d.ts +43 -151
- package/dist/api/ProxyServersApi.d.ts.map +1 -1
- package/dist/api/ProxyServersApi.js +45 -44
- package/dist/api/PublicationsApi.d.ts +28 -91
- package/dist/api/PublicationsApi.d.ts.map +1 -1
- package/dist/api/PublicationsApi.js +30 -29
- package/dist/api/RBACAPIClientsApi.d.ts +19 -59
- package/dist/api/RBACAPIClientsApi.d.ts.map +1 -1
- package/dist/api/RBACAPIClientsApi.js +21 -20
- package/dist/api/RBACAbstractedAPIApi.d.ts +19 -64
- package/dist/api/RBACAbstractedAPIApi.d.ts.map +1 -1
- package/dist/api/RBACAbstractedAPIApi.js +21 -20
- package/dist/api/RBACPoliciesApi.d.ts +52 -159
- package/dist/api/RBACPoliciesApi.d.ts.map +1 -1
- package/dist/api/RBACPoliciesApi.js +54 -53
- package/dist/api/RBACPrincipalRolesApi.d.ts +19 -65
- package/dist/api/RBACPrincipalRolesApi.d.ts.map +1 -1
- package/dist/api/RBACPrincipalRolesApi.js +21 -20
- package/dist/api/RBACRESTAppAccessControlApi.d.ts +4 -10
- package/dist/api/RBACRESTAppAccessControlApi.d.ts.map +1 -1
- package/dist/api/RBACRESTAppAccessControlApi.js +6 -5
- package/dist/api/RBACRoleAssignmentsApi.d.ts +4 -14
- package/dist/api/RBACRoleAssignmentsApi.d.ts.map +1 -1
- package/dist/api/RBACRoleAssignmentsApi.js +6 -5
- package/dist/api/RBACRolesApi.d.ts +25 -75
- package/dist/api/RBACRolesApi.d.ts.map +1 -1
- package/dist/api/RBACRolesApi.js +27 -26
- package/dist/api/RBACSchemaAccessControlApi.d.ts +4 -10
- package/dist/api/RBACSchemaAccessControlApi.d.ts.map +1 -1
- package/dist/api/RBACSchemaAccessControlApi.js +6 -5
- package/dist/api/RBACSiteAccessControlApi.d.ts +4 -10
- package/dist/api/RBACSiteAccessControlApi.d.ts.map +1 -1
- package/dist/api/RBACSiteAccessControlApi.js +6 -5
- package/dist/api/RequestLogsApi.d.ts +13 -52
- package/dist/api/RequestLogsApi.d.ts.map +1 -1
- package/dist/api/RequestLogsApi.js +15 -14
- package/dist/api/RestApplicationsApi.d.ts +37 -114
- package/dist/api/RestApplicationsApi.d.ts.map +1 -1
- package/dist/api/RestApplicationsApi.js +39 -38
- package/dist/api/ScheduledAutomationApi.d.ts +16 -47
- package/dist/api/ScheduledAutomationApi.d.ts.map +1 -1
- package/dist/api/ScheduledAutomationApi.js +18 -17
- package/dist/api/SchemaViewsApi.d.ts +16 -49
- package/dist/api/SchemaViewsApi.d.ts.map +1 -1
- package/dist/api/SchemaViewsApi.js +18 -17
- package/dist/api/ScreensApi.d.ts +7 -19
- package/dist/api/ScreensApi.d.ts.map +1 -1
- package/dist/api/ScreensApi.js +9 -8
- package/dist/api/SearchApi.d.ts +19 -146
- package/dist/api/SearchApi.d.ts.map +1 -1
- package/dist/api/SearchApi.js +21 -20
- package/dist/api/SitesApi.d.ts +58 -182
- package/dist/api/SitesApi.d.ts.map +1 -1
- package/dist/api/SitesApi.js +60 -59
- package/dist/api/SocialAuthApi.d.ts +22 -83
- package/dist/api/SocialAuthApi.d.ts.map +1 -1
- package/dist/api/SocialAuthApi.js +24 -23
- package/dist/api/SocialAuthConfigApi.d.ts +16 -53
- package/dist/api/SocialAuthConfigApi.d.ts.map +1 -1
- package/dist/api/SocialAuthConfigApi.js +18 -17
- package/dist/api/SocialGroupsApi.d.ts +70 -231
- package/dist/api/SocialGroupsApi.d.ts.map +1 -1
- package/dist/api/SocialGroupsApi.js +72 -71
- package/dist/api/SocialIntegrationApi.d.ts +5 -5
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/SqlSyncApi.d.ts +10 -37
- package/dist/api/SqlSyncApi.d.ts.map +1 -1
- package/dist/api/SqlSyncApi.js +12 -11
- package/dist/api/SquareAccountsApi.d.ts +10 -29
- package/dist/api/SquareAccountsApi.d.ts.map +1 -1
- package/dist/api/SquareAccountsApi.js +12 -11
- package/dist/api/StripeAccountsApi.d.ts +277 -851
- package/dist/api/StripeAccountsApi.d.ts.map +1 -1
- package/dist/api/StripeAccountsApi.js +279 -279
- package/dist/api/SyncApi.d.ts +4 -10
- package/dist/api/SyncApi.d.ts.map +1 -1
- package/dist/api/SyncApi.js +6 -5
- package/dist/api/TabDefinitionsApi.d.ts +13 -37
- package/dist/api/TabDefinitionsApi.d.ts.map +1 -1
- package/dist/api/TabDefinitionsApi.js +15 -14
- package/dist/api/TabSetsApi.d.ts +22 -77
- package/dist/api/TabSetsApi.d.ts.map +1 -1
- package/dist/api/TabSetsApi.js +24 -23
- package/dist/api/TagsApi.d.ts +1 -1
- package/dist/api/TemplatesApi.d.ts +28 -82
- package/dist/api/TemplatesApi.d.ts.map +1 -1
- package/dist/api/TemplatesApi.js +30 -29
- package/dist/api/ThemeMappingsApi.d.ts +25 -76
- package/dist/api/ThemeMappingsApi.d.ts.map +1 -1
- package/dist/api/ThemeMappingsApi.js +27 -26
- package/dist/api/TopicsApi.d.ts +34 -100
- package/dist/api/TopicsApi.d.ts.map +1 -1
- package/dist/api/TopicsApi.js +36 -35
- package/dist/api/TransactionsApi.d.ts +1 -1
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.d.ts +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/URLMappingsApi.d.ts +25 -73
- package/dist/api/URLMappingsApi.d.ts.map +1 -1
- package/dist/api/URLMappingsApi.js +27 -26
- package/dist/api/UserManagerAdministrationApi.d.ts +82 -244
- package/dist/api/UserManagerAdministrationApi.d.ts.map +1 -1
- package/dist/api/UserManagerAdministrationApi.js +84 -83
- package/dist/api/UserTagsApi.d.ts +10 -28
- package/dist/api/UserTagsApi.d.ts.map +1 -1
- package/dist/api/UserTagsApi.js +12 -11
- package/dist/api/UsersApi.d.ts +49 -167
- package/dist/api/UsersApi.d.ts.map +1 -1
- package/dist/api/UsersApi.js +51 -50
- package/dist/api/UtilsApi.d.ts +1 -1
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.d.ts +31 -115
- package/dist/api/VideosApi.d.ts.map +1 -1
- package/dist/api/VideosApi.js +33 -32
- package/dist/api/ViewsApi.d.ts +16 -46
- package/dist/api/ViewsApi.d.ts.map +1 -1
- package/dist/api/ViewsApi.js +18 -17
- package/dist/api/WalletsApi.d.ts +58 -193
- package/dist/api/WalletsApi.d.ts.map +1 -1
- package/dist/api/WalletsApi.js +60 -59
- package/dist/api/WidgetsApi.d.ts +46 -139
- package/dist/api/WidgetsApi.d.ts.map +1 -1
- package/dist/api/WidgetsApi.js +48 -47
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -0
- package/dist/model/AIConfigRequest.d.ts +1 -1
- package/dist/model/AIConfigRequest.js +2 -2
- package/dist/model/AIConfigResponse.d.ts +1 -1
- package/dist/model/AIConfigResponse.js +2 -2
- package/dist/model/AIConversationInput.d.ts +1 -1
- package/dist/model/AIConversationInput.js +2 -2
- package/dist/model/AIConversationResponse.d.ts +1 -1
- package/dist/model/AIConversationResponse.js +2 -2
- package/dist/model/AIMessageInput.d.ts +1 -1
- package/dist/model/AIMessageInput.js +2 -2
- package/dist/model/AIMessageResponse.d.ts +1 -1
- package/dist/model/AIMessageResponse.js +2 -2
- package/dist/model/AIParticipantRequest.d.ts +1 -1
- package/dist/model/AIParticipantRequest.js +2 -2
- package/dist/model/AIParticipantResponse.d.ts +1 -1
- package/dist/model/AIParticipantResponse.js +2 -2
- package/dist/model/AIPersonaBuilderApplyRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderApplyRequest.js +2 -2
- package/dist/model/AIPersonaBuilderCreateRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderCreateRequest.js +2 -2
- package/dist/model/AIPersonaBuilderPreviewRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderPreviewRequest.js +2 -2
- package/dist/model/AIPersonaBuilderStartRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderStartRequest.js +2 -2
- package/dist/model/AIPersonaBuilderStateResponse.d.ts +1 -1
- package/dist/model/AIPersonaBuilderStateResponse.js +2 -2
- package/dist/model/AIPersonaBuilderSuggestRequest.d.ts +1 -1
- package/dist/model/AIPersonaBuilderSuggestRequest.js +2 -2
- package/dist/model/AIPersonaBuilderSuggestionResponse.d.ts +1 -1
- package/dist/model/AIPersonaBuilderSuggestionResponse.js +2 -2
- package/dist/model/AIPersonaMemoryListResponse.d.ts +1 -1
- package/dist/model/AIPersonaMemoryListResponse.js +2 -2
- package/dist/model/AIPersonaMemoryRequest.d.ts +1 -1
- package/dist/model/AIPersonaMemoryRequest.js +2 -2
- package/dist/model/AIPersonaMemoryResponse.d.ts +1 -1
- package/dist/model/AIPersonaMemoryResponse.js +2 -2
- package/dist/model/AIPersonaPreviewRequest.d.ts +1 -1
- package/dist/model/AIPersonaPreviewRequest.js +2 -2
- package/dist/model/AIPersonaPreviewResponse.d.ts +1 -1
- package/dist/model/AIPersonaPreviewResponse.js +2 -2
- package/dist/model/AIPersonaPromotionRequest.d.ts +1 -1
- package/dist/model/AIPersonaPromotionRequest.js +2 -2
- package/dist/model/AIPersonaRequest.d.ts +1 -1
- package/dist/model/AIPersonaRequest.js +2 -2
- package/dist/model/AIPersonaResponse.d.ts +1 -1
- package/dist/model/AIPersonaResponse.js +2 -2
- package/dist/model/AIPersonaSourceListResponse.d.ts +1 -1
- package/dist/model/AIPersonaSourceListResponse.js +2 -2
- package/dist/model/AIPersonaSourceRequest.d.ts +1 -1
- package/dist/model/AIPersonaSourceRequest.js +2 -2
- package/dist/model/AIPersonaSourceResponse.d.ts +1 -1
- package/dist/model/AIPersonaSourceResponse.js +2 -2
- package/dist/model/AIPersonaSpeechRequest.d.ts +1 -1
- package/dist/model/AIPersonaSpeechRequest.js +2 -2
- package/dist/model/AIPersonaSpeechResponse.d.ts +1 -1
- package/dist/model/AIPersonaSpeechResponse.js +2 -2
- package/dist/model/AIPersonaTestRequest.d.ts +1 -1
- package/dist/model/AIPersonaTestRequest.js +2 -2
- package/dist/model/AIPersonaTrainingApplyRequest.d.ts +1 -1
- package/dist/model/AIPersonaTrainingApplyRequest.js +2 -2
- package/dist/model/AIPersonaTrainingApplyResponse.d.ts +1 -1
- package/dist/model/AIPersonaTrainingApplyResponse.js +2 -2
- package/dist/model/AIPersonaTrainingDraftResponse.d.ts +1 -1
- package/dist/model/AIPersonaTrainingDraftResponse.js +2 -2
- package/dist/model/AIPersonaTrainingPurgeRequest.d.ts +1 -1
- package/dist/model/AIPersonaTrainingPurgeRequest.js +2 -2
- package/dist/model/AIPersonaTrainingPurgeResponse.d.ts +1 -1
- package/dist/model/AIPersonaTrainingPurgeResponse.js +2 -2
- package/dist/model/AIPersonaTrainingSourceRequest.d.ts +1 -1
- package/dist/model/AIPersonaTrainingSourceRequest.js +2 -2
- package/dist/model/AIPromptRequest.d.ts +1 -1
- package/dist/model/AIPromptRequest.js +2 -2
- package/dist/model/AIPromptResponse.d.ts +1 -1
- package/dist/model/AIPromptResponse.js +2 -2
- package/dist/model/AIProviderInfo.d.ts +1 -1
- package/dist/model/AIProviderInfo.js +2 -2
- package/dist/model/AISpeechRequest.d.ts +1 -1
- package/dist/model/AISpeechRequest.js +2 -2
- package/dist/model/APIClient.d.ts +1 -1
- package/dist/model/APIClient.js +2 -2
- package/dist/model/Aba.d.ts +1 -1
- package/dist/model/Aba.js +2 -2
- package/dist/model/AbilityResponse.d.ts +1 -1
- package/dist/model/AbilityResponse.js +2 -2
- package/dist/model/Account.d.ts +1 -1
- package/dist/model/Account.js +2 -2
- package/dist/model/AccountSessionInput.d.ts +1 -1
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.d.ts +1 -1
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/AchCreditTransfer.d.ts +1 -1
- package/dist/model/AchCreditTransfer.js +2 -2
- package/dist/model/AchDebit.d.ts +1 -1
- package/dist/model/AchDebit.js +2 -2
- package/dist/model/AcssDebit.d.ts +1 -1
- package/dist/model/AcssDebit.js +2 -2
- package/dist/model/AddInvoiceItem.d.ts +1 -1
- package/dist/model/AddInvoiceItem.js +2 -2
- package/dist/model/AddMembersInput.d.ts +1 -1
- package/dist/model/AddMembersInput.js +2 -2
- package/dist/model/AdditionalDocument.d.ts +1 -1
- package/dist/model/AdditionalDocument.js +2 -2
- package/dist/model/AdditionalTosAcceptances.d.ts +1 -1
- package/dist/model/AdditionalTosAcceptances.js +2 -2
- package/dist/model/Address.d.ts +1 -1
- package/dist/model/Address.js +2 -2
- package/dist/model/AddressKana.d.ts +1 -1
- package/dist/model/AddressKana.js +2 -2
- package/dist/model/AddressKanji.d.ts +1 -1
- package/dist/model/AddressKanji.js +2 -2
- package/dist/model/AddressResponse.d.ts +1 -1
- package/dist/model/AddressResponse.js +2 -2
- package/dist/model/AdministratorPayload.d.ts +1 -1
- package/dist/model/AdministratorPayload.js +2 -2
- package/dist/model/Affirm.d.ts +1 -1
- package/dist/model/Affirm.js +2 -2
- package/dist/model/AfterCompletion.d.ts +1 -1
- package/dist/model/AfterCompletion.js +2 -2
- package/dist/model/AfterExpiration.d.ts +1 -1
- package/dist/model/AfterExpiration.js +2 -2
- package/dist/model/AfterpayClearpay.d.ts +1 -1
- package/dist/model/AfterpayClearpay.js +2 -2
- package/dist/model/AirtableSyncConfigInput.d.ts +1 -1
- package/dist/model/AirtableSyncConfigInput.js +2 -2
- package/dist/model/AirtableSyncRuleInput.d.ts +1 -1
- package/dist/model/AirtableSyncRuleInput.js +2 -2
- package/dist/model/Alipay.d.ts +1 -1
- package/dist/model/Alipay.js +2 -2
- package/dist/model/AlipayHandleRedirect.d.ts +1 -1
- package/dist/model/AlipayHandleRedirect.js +2 -2
- package/dist/model/Alternative.d.ts +1 -1
- package/dist/model/Alternative.js +2 -2
- package/dist/model/AmexExpressCheckout.d.ts +1 -1
- package/dist/model/AmexExpressCheckout.js +2 -2
- package/dist/model/AmountDetails.d.ts +1 -1
- package/dist/model/AmountDetails.js +2 -2
- package/dist/model/ApcopayAccountsResponse.d.ts +1 -1
- package/dist/model/ApcopayAccountsResponse.js +2 -2
- package/dist/model/ApcopayClientInput.d.ts +1 -1
- package/dist/model/ApcopayClientInput.js +2 -2
- package/dist/model/ApcopayCustomerAccountSummary.d.ts +1 -1
- package/dist/model/ApcopayCustomerAccountSummary.js +2 -2
- package/dist/model/ApcopayHppSessionInput.d.ts +1 -1
- package/dist/model/ApcopayHppSessionInput.js +2 -2
- package/dist/model/ApcopayMitChargeInput.d.ts +1 -1
- package/dist/model/ApcopayMitChargeInput.js +2 -2
- package/dist/model/ApcopayPaymentLinkInput.d.ts +1 -1
- package/dist/model/ApcopayPaymentLinkInput.js +2 -2
- package/dist/model/ApcopayPaymentSessionResponse.d.ts +1 -1
- package/dist/model/ApcopayPaymentSessionResponse.js +2 -2
- package/dist/model/ApcopayPayoutHppInput.d.ts +1 -1
- package/dist/model/ApcopayPayoutHppInput.js +2 -2
- package/dist/model/ApcopayPayoutInput.d.ts +1 -1
- package/dist/model/ApcopayPayoutInput.js +2 -2
- package/dist/model/ApcopayStatusResponse.d.ts +1 -1
- package/dist/model/ApcopayStatusResponse.js +2 -2
- package/dist/model/ApcopayTenantConfigRequest.d.ts +1 -1
- package/dist/model/ApcopayTenantConfigRequest.js +2 -2
- package/dist/model/ApcopayTenantConfigResponse.d.ts +1 -1
- package/dist/model/ApcopayTenantConfigResponse.js +2 -2
- package/dist/model/ApcopayTransactionResponse.d.ts +1 -1
- package/dist/model/ApcopayTransactionResponse.js +2 -2
- package/dist/model/ApiClientAllowRequest.d.ts +1 -1
- package/dist/model/ApiClientAllowRequest.js +2 -2
- package/dist/model/ApiClientAllowResponse.d.ts +1 -1
- package/dist/model/ApiClientAllowResponse.js +2 -2
- package/dist/model/ApiClientAllowlistResponse.d.ts +1 -1
- package/dist/model/ApiClientAllowlistResponse.js +2 -2
- package/dist/model/ApiClientGlobalConfigRequest.d.ts +1 -1
- package/dist/model/ApiClientGlobalConfigRequest.js +2 -2
- package/dist/model/ApiClientGlobalConfigResponse.d.ts +1 -1
- package/dist/model/ApiClientGlobalConfigResponse.js +2 -2
- package/dist/model/ApiClientPoliciesResponse.d.ts +1 -1
- package/dist/model/ApiClientPoliciesResponse.js +2 -2
- package/dist/model/ApiClientPolicySummary.d.ts +1 -1
- package/dist/model/ApiClientPolicySummary.js +2 -2
- package/dist/model/ApiClientRoleSummary.d.ts +1 -1
- package/dist/model/ApiClientRoleSummary.js +2 -2
- package/dist/model/ApiClientRolesResponse.d.ts +1 -1
- package/dist/model/ApiClientRolesResponse.js +2 -2
- package/dist/model/ApiClientSuccessResponse.d.ts +1 -1
- package/dist/model/ApiClientSuccessResponse.js +2 -2
- package/dist/model/ApiClientSummary.d.ts +1 -1
- package/dist/model/ApiClientSummary.js +2 -2
- package/dist/model/ApiClientTenantConfigRequest.d.ts +1 -1
- package/dist/model/ApiClientTenantConfigRequest.js +2 -2
- package/dist/model/ApiClientTenantConfigResponse.d.ts +1 -1
- package/dist/model/ApiClientTenantConfigResponse.js +2 -2
- package/dist/model/ApplePay.d.ts +1 -1
- package/dist/model/ApplePay.js +2 -2
- package/dist/model/Application.d.ts +1 -1
- package/dist/model/Application.js +2 -2
- package/dist/model/ApplicationFee.d.ts +1 -1
- package/dist/model/ApplicationFee.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/AppliesTo.d.ts +1 -1
- package/dist/model/AppliesTo.js +2 -2
- package/dist/model/ApprovalActionRequest.d.ts +1 -1
- package/dist/model/ApprovalActionRequest.js +2 -2
- package/dist/model/ApprovalProcessInput.d.ts +1 -1
- package/dist/model/ApprovalProcessInput.js +2 -2
- package/dist/model/ApprovalProcessResponse.d.ts +1 -1
- package/dist/model/ApprovalProcessResponse.js +2 -2
- package/dist/model/ApprovalRequestResponse.d.ts +1 -1
- package/dist/model/ApprovalRequestResponse.js +2 -2
- package/dist/model/ApprovalSubmitRequest.d.ts +1 -1
- package/dist/model/ApprovalSubmitRequest.js +2 -2
- package/dist/model/Article.d.ts +10 -10
- package/dist/model/Article.d.ts.map +1 -1
- package/dist/model/Article.js +27 -27
- package/dist/model/AttachmentData.d.ts +9 -9
- package/dist/model/AttachmentData.js +23 -23
- package/dist/model/AuBecsDebit.d.ts +1 -1
- package/dist/model/AuBecsDebit.js +2 -2
- package/dist/model/Auth0ConfigInput.d.ts +1 -1
- package/dist/model/Auth0ConfigInput.js +2 -2
- package/dist/model/Auth0ConfigResponse.d.ts +1 -1
- package/dist/model/Auth0ConfigResponse.js +2 -2
- package/dist/model/AuthResponse.d.ts +1 -1
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AuthorizationCheckResponse.d.ts +1 -1
- package/dist/model/AuthorizationCheckResponse.js +2 -2
- package/dist/model/AutomaticPaymentMethods.d.ts +1 -1
- package/dist/model/AutomaticPaymentMethods.js +2 -2
- package/dist/model/AutomaticTax.d.ts +1 -1
- package/dist/model/AutomaticTax.js +2 -2
- package/dist/model/AutomationActionGraphEdgeInput.d.ts +1 -1
- package/dist/model/AutomationActionGraphEdgeInput.js +2 -2
- package/dist/model/AutomationActionGraphInput.d.ts +1 -1
- package/dist/model/AutomationActionGraphInput.js +2 -2
- package/dist/model/AutomationActionGraphNodeInput.d.ts +1 -1
- package/dist/model/AutomationActionGraphNodeInput.js +2 -2
- package/dist/model/AutomationActionInput.d.ts +1 -1
- package/dist/model/AutomationActionInput.js +2 -2
- package/dist/model/AutomationActionResultResponse.d.ts +1 -1
- package/dist/model/AutomationActionResultResponse.js +2 -2
- package/dist/model/AutomationConditionInput.d.ts +1 -1
- package/dist/model/AutomationConditionInput.js +2 -2
- package/dist/model/AutomationCriteriaInput.d.ts +1 -1
- package/dist/model/AutomationCriteriaInput.js +2 -2
- package/dist/model/AutomationExecutionLogResponse.d.ts +1 -1
- package/dist/model/AutomationExecutionLogResponse.js +2 -2
- package/dist/model/AutomationInstanceInput.d.ts +1 -1
- package/dist/model/AutomationInstanceInput.js +2 -2
- package/dist/model/AutomationInstanceResponse.d.ts +1 -1
- package/dist/model/AutomationInstanceResponse.js +2 -2
- package/dist/model/AutomationInvokeRequest.d.ts +1 -1
- package/dist/model/AutomationInvokeRequest.js +2 -2
- package/dist/model/AutomationRuleInput.d.ts +1 -1
- package/dist/model/AutomationRuleInput.js +2 -2
- package/dist/model/AutomationRuleResponse.d.ts +1 -1
- package/dist/model/AutomationRuleResponse.js +2 -2
- package/dist/model/AutomationTemplateResponse.d.ts +1 -1
- package/dist/model/AutomationTemplateResponse.js +2 -2
- package/dist/model/AutomationTestRequest.d.ts +1 -1
- package/dist/model/AutomationTestRequest.js +2 -2
- package/dist/model/AvailablePlan.d.ts +1 -1
- package/dist/model/AvailablePlan.js +2 -2
- package/dist/model/AwsSettings.d.ts +1 -1
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/BacsDebit.d.ts +1 -1
- package/dist/model/BacsDebit.js +2 -2
- package/dist/model/BacsDebitPayments.d.ts +1 -1
- package/dist/model/BacsDebitPayments.js +2 -2
- package/dist/model/Balance.d.ts +10 -10
- package/dist/model/Balance.d.ts.map +1 -1
- package/dist/model/Balance.js +42 -42
- package/dist/model/BalanceDetails.d.ts +1 -1
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.d.ts +1 -1
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BalanceTransaction.d.ts +1 -1
- package/dist/model/BalanceTransaction.js +2 -2
- package/dist/model/BalanceTransactionSource.d.ts +1 -1
- package/dist/model/BalanceTransactionSource.js +2 -2
- package/dist/model/Bancontact.d.ts +1 -1
- package/dist/model/Bancontact.js +2 -2
- package/dist/model/BankAccountInfo.d.ts +1 -1
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/BankTransfer.d.ts +1 -1
- package/dist/model/BankTransfer.js +2 -2
- package/dist/model/Base64AttachmentUpload.d.ts +1 -1
- package/dist/model/Base64AttachmentUpload.js +2 -2
- package/dist/model/Base64ImageUpload.d.ts +1 -1
- package/dist/model/Base64ImageUpload.js +2 -2
- package/dist/model/Base64ImportUpload.d.ts +1 -1
- package/dist/model/Base64ImportUpload.js +2 -2
- package/dist/model/Base64Upload.d.ts +1 -1
- package/dist/model/Base64Upload.js +2 -2
- package/dist/model/Base64VideoUpload.d.ts +1 -1
- package/dist/model/Base64VideoUpload.js +2 -2
- package/dist/model/BatchExecuteResult.d.ts +1 -1
- package/dist/model/BatchExecuteResult.js +2 -2
- package/dist/model/BatchExecutionListResponse.d.ts +1 -1
- package/dist/model/BatchExecutionListResponse.js +2 -2
- package/dist/model/BatchExecutionResponse.d.ts +1 -1
- package/dist/model/BatchExecutionResponse.js +2 -2
- package/dist/model/BatchExecutionSummaryResponse.d.ts +1 -1
- package/dist/model/BatchExecutionSummaryResponse.js +2 -2
- package/dist/model/BatchFailedRecordResponse.d.ts +1 -1
- package/dist/model/BatchFailedRecordResponse.js +2 -2
- package/dist/model/BatchOperationDetailResponse.d.ts +1 -1
- package/dist/model/BatchOperationDetailResponse.js +2 -2
- package/dist/model/BatchOperationListResponse.d.ts +1 -1
- package/dist/model/BatchOperationListResponse.js +2 -2
- package/dist/model/BatchOperationResponse.d.ts +1 -1
- package/dist/model/BatchOperationResponse.js +2 -2
- package/dist/model/BatchOperationSummaryResponse.d.ts +1 -1
- package/dist/model/BatchOperationSummaryResponse.js +2 -2
- package/dist/model/BatchStartInput.d.ts +1 -1
- package/dist/model/BatchStartInput.js +2 -2
- package/dist/model/BatchStartResponse.d.ts +1 -1
- package/dist/model/BatchStartResponse.js +2 -2
- package/dist/model/BatchUpdateInput.d.ts +1 -1
- package/dist/model/BatchUpdateInput.js +2 -2
- package/dist/model/BillingDetails.d.ts +1 -1
- package/dist/model/BillingDetails.js +2 -2
- package/dist/model/BillingThresholds.d.ts +1 -1
- package/dist/model/BillingThresholds.js +2 -2
- package/dist/model/Blik.d.ts +1 -1
- package/dist/model/Blik.js +2 -2
- package/dist/model/Blocked.d.ts +1 -1
- package/dist/model/Blocked.js +2 -2
- package/dist/model/BlogPostResponse.d.ts +1 -1
- package/dist/model/BlogPostResponse.js +2 -2
- package/dist/model/Boleto.d.ts +1 -1
- package/dist/model/Boleto.js +2 -2
- package/dist/model/BoletoDisplayDetails.d.ts +1 -1
- package/dist/model/BoletoDisplayDetails.js +2 -2
- package/dist/model/Branding.d.ts +1 -1
- package/dist/model/Branding.js +2 -2
- package/dist/model/Breakdown.d.ts +1 -1
- package/dist/model/Breakdown.js +2 -2
- package/dist/model/BulkUpsertActionPayload.d.ts +1 -1
- package/dist/model/BulkUpsertActionPayload.js +2 -2
- package/dist/model/BulkUpsertRelationshipPayload.d.ts +1 -1
- package/dist/model/BulkUpsertRelationshipPayload.js +2 -2
- package/dist/model/BusinessProfile.d.ts +1 -1
- package/dist/model/BusinessProfile.js +2 -2
- package/dist/model/CacheInvalidation.d.ts +2 -9
- package/dist/model/CacheInvalidation.d.ts.map +1 -1
- package/dist/model/CacheInvalidation.js +6 -29
- package/dist/model/CancellationDetails.d.ts +1 -1
- package/dist/model/CancellationDetails.js +2 -2
- package/dist/model/Card.d.ts +1 -1
- package/dist/model/Card.js +2 -2
- package/dist/model/CardAwaitNotification.d.ts +1 -1
- package/dist/model/CardAwaitNotification.js +2 -2
- package/dist/model/CardInfo.d.ts +1 -1
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/CardIssuing.d.ts +1 -1
- package/dist/model/CardIssuing.js +2 -2
- package/dist/model/CardPayments.d.ts +1 -1
- package/dist/model/CardPayments.js +2 -2
- package/dist/model/CardPresent.d.ts +1 -1
- package/dist/model/CardPresent.js +2 -2
- package/dist/model/CashBalance.d.ts +1 -1
- package/dist/model/CashBalance.js +2 -2
- package/dist/model/Cashapp.d.ts +1 -1
- package/dist/model/Cashapp.js +2 -2
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +1 -1
- package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +2 -2
- package/dist/model/CashoutProvidersResponse.d.ts +1 -1
- package/dist/model/CashoutProvidersResponse.js +2 -2
- package/dist/model/Charge.d.ts +25 -25
- package/dist/model/Charge.d.ts.map +1 -1
- package/dist/model/Charge.js +77 -77
- package/dist/model/CheckoutSessionInput.d.ts +1 -1
- package/dist/model/CheckoutSessionInput.js +2 -2
- package/dist/model/CheckoutSessionResponse.d.ts +1 -1
- package/dist/model/CheckoutSessionResponse.js +2 -2
- package/dist/model/Checks.d.ts +1 -1
- package/dist/model/Checks.js +2 -2
- package/dist/model/ClerkConfigInput.d.ts +1 -1
- package/dist/model/ClerkConfigInput.js +2 -2
- package/dist/model/ClerkConfigResponse.d.ts +1 -1
- package/dist/model/ClerkConfigResponse.js +2 -2
- package/dist/model/ClientPermissionPayload.d.ts +1 -1
- package/dist/model/ClientPermissionPayload.js +2 -2
- package/dist/model/CognitoConfigInput.d.ts +1 -1
- package/dist/model/CognitoConfigInput.js +2 -2
- package/dist/model/CognitoConfigResponse.d.ts +1 -1
- package/dist/model/CognitoConfigResponse.js +2 -2
- package/dist/model/CommentInput.d.ts +1 -1
- package/dist/model/CommentInput.js +2 -2
- package/dist/model/CommentResponse.d.ts +1 -1
- package/dist/model/CommentResponse.js +2 -2
- package/dist/model/Company.d.ts +1 -1
- package/dist/model/Company.js +2 -2
- package/dist/model/CompletedSessions.d.ts +1 -1
- package/dist/model/CompletedSessions.js +2 -2
- package/dist/model/Computed.d.ts +1 -1
- package/dist/model/Computed.js +2 -2
- package/dist/model/Consent.d.ts +1 -1
- package/dist/model/Consent.js +2 -2
- package/dist/model/ConsentCollection.d.ts +1 -1
- package/dist/model/ConsentCollection.js +2 -2
- package/dist/model/ConsoleOrganizationInput.d.ts +1 -1
- package/dist/model/ConsoleOrganizationInput.js +2 -2
- package/dist/model/ConsoleOrganizationResponse.d.ts +1 -1
- package/dist/model/ConsoleOrganizationResponse.js +2 -2
- package/dist/model/ConsoleProjectInput.d.ts +1 -1
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.d.ts +1 -1
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/ContainerAccessControlPolicyGroups.d.ts +1 -1
- package/dist/model/ContainerAccessControlPolicyGroups.js +2 -2
- package/dist/model/ContainerAccessControlResponse.d.ts +1 -1
- package/dist/model/ContainerAccessControlResponse.js +2 -2
- package/dist/model/ContainerAccessControlRoleGroups.d.ts +1 -1
- package/dist/model/ContainerAccessControlRoleGroups.js +2 -2
- package/dist/model/Controller.d.ts +1 -1
- package/dist/model/Controller.js +2 -2
- package/dist/model/Coordinates.d.ts +1 -1
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/Coupon.d.ts +1 -1
- package/dist/model/Coupon.js +2 -2
- package/dist/model/CreateAccountResponse.d.ts +1 -1
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateCircleAccountInput.d.ts +1 -1
- package/dist/model/CreateCircleAccountInput.js +2 -2
- package/dist/model/CreateFunctionInput.d.ts +1 -1
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateOrphanStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateOrphanStripeCustomerInput.js +2 -2
- package/dist/model/CreatePayPalAccountInput.d.ts +1 -1
- package/dist/model/CreatePayPalAccountInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.d.ts +1 -1
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.d.ts +1 -1
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.d.ts +1 -1
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/CreditedItems.d.ts +1 -1
- package/dist/model/CreditedItems.js +2 -2
- package/dist/model/CurrencyConversion.d.ts +1 -1
- package/dist/model/CurrencyConversion.js +2 -2
- package/dist/model/CurrencyGrantInput.d.ts +1 -1
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.d.ts +1 -1
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.d.ts +1 -1
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyOption.d.ts +1 -1
- package/dist/model/CurrencyOption.js +2 -2
- package/dist/model/CurrencyResponse.d.ts +1 -1
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettingsInput.d.ts +1 -1
- package/dist/model/CurrencySettingsInput.js +2 -2
- package/dist/model/CurrencySettingsResponse.d.ts +1 -1
- package/dist/model/CurrencySettingsResponse.js +2 -2
- package/dist/model/CurrentPhase.d.ts +1 -1
- package/dist/model/CurrentPhase.js +2 -2
- package/dist/model/CustomField.d.ts +1 -1
- package/dist/model/CustomField.js +2 -2
- package/dist/model/CustomText.d.ts +1 -1
- package/dist/model/CustomText.js +2 -2
- package/dist/model/CustomUnitAmount.d.ts +1 -1
- package/dist/model/CustomUnitAmount.js +2 -2
- package/dist/model/Customer.d.ts +10 -10
- package/dist/model/Customer.d.ts.map +1 -1
- package/dist/model/Customer.js +27 -27
- package/dist/model/CustomerAcceptance.d.ts +1 -1
- package/dist/model/CustomerAcceptance.js +2 -2
- package/dist/model/CustomerBalance.d.ts +1 -1
- package/dist/model/CustomerBalance.js +2 -2
- package/dist/model/CustomerDetails.d.ts +1 -1
- package/dist/model/CustomerDetails.js +2 -2
- package/dist/model/CustomerNotification.d.ts +1 -1
- package/dist/model/CustomerNotification.js +2 -2
- package/dist/model/CustomerResponse.d.ts +1 -1
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/CustomerTaxId.d.ts +1 -1
- package/dist/model/CustomerTaxId.js +2 -2
- package/dist/model/Dashboard.d.ts +1 -1
- package/dist/model/Dashboard.js +2 -2
- package/dist/model/DataObject.d.ts +1 -1
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.d.ts +26 -26
- package/dist/model/DataSheetImport.d.ts.map +1 -1
- package/dist/model/DataSheetImport.js +61 -61
- package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.d.ts +1 -1
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DataSyncInput.d.ts +1 -1
- package/dist/model/DataSyncInput.js +2 -2
- package/dist/model/DataSyncResponse.d.ts +1 -1
- package/dist/model/DataSyncResponse.js +2 -2
- package/dist/model/DeclineOn.d.ts +1 -1
- package/dist/model/DeclineOn.js +2 -2
- package/dist/model/DefaultSettings.d.ts +1 -1
- package/dist/model/DefaultSettings.js +2 -2
- package/dist/model/DeliveryEstimate.d.ts +1 -1
- package/dist/model/DeliveryEstimate.js +2 -2
- package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Discount.d.ts +1 -1
- package/dist/model/Discount.js +2 -2
- package/dist/model/DiscountAmount.d.ts +1 -1
- package/dist/model/DiscountAmount.js +2 -2
- package/dist/model/DisplayBankTransferInstructions.d.ts +1 -1
- package/dist/model/DisplayBankTransferInstructions.js +2 -2
- package/dist/model/DisplayDetails.d.ts +1 -1
- package/dist/model/DisplayDetails.js +2 -2
- package/dist/model/Dob.d.ts +1 -1
- package/dist/model/Dob.js +2 -2
- package/dist/model/Document.d.ts +10 -10
- package/dist/model/Document.d.ts.map +1 -1
- package/dist/model/Document.js +27 -27
- package/dist/model/DocumentInput.d.ts +1 -1
- package/dist/model/DocumentInput.js +2 -2
- package/dist/model/DocumentPart.d.ts +24 -24
- package/dist/model/DocumentPart.d.ts.map +1 -1
- package/dist/model/DocumentPart.js +69 -69
- package/dist/model/DocumentPartInput.d.ts +1 -1
- package/dist/model/DocumentPartInput.js +2 -2
- package/dist/model/DocumentPartResponse.d.ts +1 -1
- package/dist/model/DocumentPartResponse.js +2 -2
- package/dist/model/DocumentPartType.d.ts +19 -19
- package/dist/model/DocumentPartType.d.ts.map +1 -1
- package/dist/model/DocumentPartType.js +48 -48
- package/dist/model/DocumentPartTypeResponse.d.ts +1 -1
- package/dist/model/DocumentPartTypeResponse.js +2 -2
- package/dist/model/DocumentResponse.d.ts +1 -1
- package/dist/model/DocumentResponse.js +2 -2
- package/dist/model/DocumentType.d.ts +14 -14
- package/dist/model/DocumentType.d.ts.map +1 -1
- package/dist/model/DocumentType.js +38 -38
- package/dist/model/DocumentTypeResponse.d.ts +1 -1
- package/dist/model/DocumentTypeResponse.js +2 -2
- package/dist/model/DomainCreateInput.d.ts +1 -1
- package/dist/model/DomainCreateInput.js +2 -2
- package/dist/model/DomainCreateResponse.d.ts +1 -1
- package/dist/model/DomainCreateResponse.js +2 -2
- package/dist/model/DomainMappingInput.d.ts +1 -1
- package/dist/model/DomainMappingInput.js +2 -2
- package/dist/model/DomainMappingResponse.d.ts +1 -1
- package/dist/model/DomainMappingResponse.js +2 -2
- package/dist/model/Dropdown.d.ts +1 -1
- package/dist/model/Dropdown.js +2 -2
- package/dist/model/DynamoDbSyncTenantConfigRequest.d.ts +1 -1
- package/dist/model/DynamoDbSyncTenantConfigRequest.js +2 -2
- package/dist/model/DynamoDbSyncTenantConfigResponse.d.ts +1 -1
- package/dist/model/DynamoDbSyncTenantConfigResponse.js +2 -2
- package/dist/model/EmailAddress.d.ts +17 -17
- package/dist/model/EmailAddress.d.ts.map +1 -1
- package/dist/model/EmailAddress.js +52 -52
- package/dist/model/EmailSent.d.ts +1 -1
- package/dist/model/EmailSent.js +2 -2
- package/dist/model/EndBehavior.d.ts +1 -1
- package/dist/model/EndBehavior.js +2 -2
- package/dist/model/Eps.d.ts +1 -1
- package/dist/model/Eps.js +2 -2
- package/dist/model/Errors.d.ts +1 -1
- package/dist/model/Errors.js +2 -2
- package/dist/model/EuBankTransfer.d.ts +1 -1
- package/dist/model/EuBankTransfer.js +2 -2
- package/dist/model/EventBridgeSettings.d.ts +1 -1
- package/dist/model/EventBridgeSettings.js +2 -2
- package/dist/model/ExtendedAuthorization.d.ts +1 -1
- package/dist/model/ExtendedAuthorization.js +2 -2
- package/dist/model/ExternalAccount.d.ts +1 -1
- package/dist/model/ExternalAccount.js +2 -2
- package/dist/model/ExternalAccountCollection.d.ts +1 -1
- package/dist/model/ExternalAccountCollection.js +2 -2
- package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +1 -1
- package/dist/model/ExternalAccountCollectionPageTypeToken.js +2 -2
- package/dist/model/Familymart.d.ts +1 -1
- package/dist/model/Familymart.js +2 -2
- package/dist/model/Feature.d.ts +1 -1
- package/dist/model/Feature.js +2 -2
- package/dist/model/FeeDetail.d.ts +1 -1
- package/dist/model/FeeDetail.js +2 -2
- package/dist/model/FeeRefund.d.ts +1 -1
- package/dist/model/FeeRefund.js +2 -2
- package/dist/model/FeeRefundCollection.d.ts +1 -1
- package/dist/model/FeeRefundCollection.js +2 -2
- package/dist/model/Field.d.ts +1 -1
- package/dist/model/Field.js +2 -2
- package/dist/model/Fieldmapping.d.ts +1 -1
- package/dist/model/Fieldmapping.js +2 -2
- package/dist/model/Fieldmapping1.d.ts +1 -1
- package/dist/model/Fieldmapping1.js +2 -2
- package/dist/model/Fieldmapping2.d.ts +1 -1
- package/dist/model/Fieldmapping2.js +2 -2
- package/dist/model/Fieldmapping3.d.ts +1 -1
- package/dist/model/Fieldmapping3.js +2 -2
- package/dist/model/Fieldmapping4.d.ts +1 -1
- package/dist/model/Fieldmapping4.js +2 -2
- package/dist/model/Fieldmapping5.d.ts +1 -1
- package/dist/model/Fieldmapping5.js +2 -2
- package/dist/model/Fields.d.ts +84 -84
- package/dist/model/Fields.d.ts.map +1 -1
- package/dist/model/Fields.js +226 -226
- package/dist/model/File.d.ts +1 -1
- package/dist/model/File.js +2 -2
- package/dist/model/FileLink.d.ts +1 -1
- package/dist/model/FileLink.js +2 -2
- package/dist/model/FileLinkCollection.d.ts +1 -1
- package/dist/model/FileLinkCollection.js +2 -2
- package/dist/model/Filter.d.ts +1 -1
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.d.ts +1 -1
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/FinancialAddress.d.ts +1 -1
- package/dist/model/FinancialAddress.js +2 -2
- package/dist/model/FinancialConnections.d.ts +1 -1
- package/dist/model/FinancialConnections.js +2 -2
- package/dist/model/FirebaseConfigInput.d.ts +1 -1
- package/dist/model/FirebaseConfigInput.js +2 -2
- package/dist/model/FirebaseConfigResponse.d.ts +1 -1
- package/dist/model/FirebaseConfigResponse.js +2 -2
- package/dist/model/FixedAmount.d.ts +1 -1
- package/dist/model/FixedAmount.js +2 -2
- package/dist/model/FlowConditionEvaluateResponse.d.ts +1 -1
- package/dist/model/FlowConditionEvaluateResponse.js +2 -2
- package/dist/model/FlowConditionInput.d.ts +1 -1
- package/dist/model/FlowConditionInput.js +2 -2
- package/dist/model/FlowExecuteRequest.d.ts +1 -1
- package/dist/model/FlowExecuteRequest.js +2 -2
- package/dist/model/FlowExecuteResponse.d.ts +1 -1
- package/dist/model/FlowExecuteResponse.js +2 -2
- package/dist/model/FlowExecutionDetailResponse.d.ts +1 -1
- package/dist/model/FlowExecutionDetailResponse.js +2 -2
- package/dist/model/FlowExecutionListResponse.d.ts +1 -1
- package/dist/model/FlowExecutionListResponse.js +2 -2
- package/dist/model/FlowExecutionSummaryResponse.d.ts +1 -1
- package/dist/model/FlowExecutionSummaryResponse.js +2 -2
- package/dist/model/FlowLoopConfigInput.d.ts +1 -1
- package/dist/model/FlowLoopConfigInput.js +2 -2
- package/dist/model/FlowN8nNodeCatalogResponse.d.ts +1 -1
- package/dist/model/FlowN8nNodeCatalogResponse.js +2 -2
- package/dist/model/FlowN8nNodeTypeLookupRequest.d.ts +1 -1
- package/dist/model/FlowN8nNodeTypeLookupRequest.js +2 -2
- package/dist/model/FlowN8nNodeTypeSummary.d.ts +1 -1
- package/dist/model/FlowN8nNodeTypeSummary.js +2 -2
- package/dist/model/FlowQueryInput.d.ts +1 -1
- package/dist/model/FlowQueryInput.js +2 -2
- package/dist/model/FlowRunResponse.d.ts +1 -1
- package/dist/model/FlowRunResponse.js +2 -2
- package/dist/model/FlowScheduleConfigInput.d.ts +1 -1
- package/dist/model/FlowScheduleConfigInput.js +2 -2
- package/dist/model/FlowStepInput.d.ts +1 -1
- package/dist/model/FlowStepInput.js +2 -2
- package/dist/model/FlowStepResponse.d.ts +1 -1
- package/dist/model/FlowStepResponse.js +2 -2
- package/dist/model/FlowStepTransitionInput.d.ts +1 -1
- package/dist/model/FlowStepTransitionInput.js +2 -2
- package/dist/model/FlowStepsInput.d.ts +1 -1
- package/dist/model/FlowStepsInput.js +2 -2
- package/dist/model/FlowStepsResponse.d.ts +1 -1
- package/dist/model/FlowStepsResponse.js +2 -2
- package/dist/model/FlowTriggerConfigInput.d.ts +1 -1
- package/dist/model/FlowTriggerConfigInput.js +2 -2
- package/dist/model/FlowWebhookEvaluateConditionRequest.d.ts +1 -1
- package/dist/model/FlowWebhookEvaluateConditionRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteActionRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteActionRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteFlowRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteFlowRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteFunctionRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteFunctionRequest.js +2 -2
- package/dist/model/FlowWebhookExecuteQueryRequest.d.ts +1 -1
- package/dist/model/FlowWebhookExecuteQueryRequest.js +2 -2
- package/dist/model/FlowWebhookPrepareLoopRequest.d.ts +1 -1
- package/dist/model/FlowWebhookPrepareLoopRequest.js +2 -2
- package/dist/model/FlowWorkflowStepsRequest.d.ts +1 -1
- package/dist/model/FlowWorkflowStepsRequest.js +2 -2
- package/dist/model/Form.d.ts +1 -1
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.d.ts +9 -9
- package/dist/model/FormSection.d.ts.map +1 -1
- package/dist/model/FormSection.js +23 -23
- package/dist/model/FormSubmission.d.ts +1 -1
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Fpx.d.ts +1 -1
- package/dist/model/Fpx.js +2 -2
- package/dist/model/FraudDetails.d.ts +1 -1
- package/dist/model/FraudDetails.js +2 -2
- package/dist/model/FromInvoice.d.ts +1 -1
- package/dist/model/FromInvoice.js +2 -2
- package/dist/model/FromQuote.d.ts +1 -1
- package/dist/model/FromQuote.js +2 -2
- package/dist/model/FunctionConfigInput.d.ts +1 -1
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionOutput.d.ts +1 -1
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/FunctionSettingsInput.d.ts +1 -1
- package/dist/model/FunctionSettingsInput.js +2 -2
- package/dist/model/FunctionSettingsResponse.d.ts +1 -1
- package/dist/model/FunctionSettingsResponse.js +2 -2
- package/dist/model/FutureRequirements.d.ts +1 -1
- package/dist/model/FutureRequirements.js +2 -2
- package/dist/model/GeneratedFrom.d.ts +1 -1
- package/dist/model/GeneratedFrom.js +2 -2
- package/dist/model/GeocodePayload.d.ts +1 -1
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeocodeResponse.d.ts +1 -1
- package/dist/model/GeocodeResponse.js +2 -2
- package/dist/model/GeolocationInput.d.ts +1 -1
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.d.ts +1 -1
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.d.ts +1 -1
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/Giropay.d.ts +1 -1
- package/dist/model/Giropay.js +2 -2
- package/dist/model/GobodoFlowInput.d.ts +1 -1
- package/dist/model/GobodoFlowInput.js +2 -2
- package/dist/model/GobodoFlowResponse.d.ts +1 -1
- package/dist/model/GobodoFlowResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.d.ts +1 -1
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/GooglePay.d.ts +1 -1
- package/dist/model/GooglePay.js +2 -2
- package/dist/model/Grabpay.d.ts +1 -1
- package/dist/model/Grabpay.js +2 -2
- package/dist/model/Graph.d.ts +61 -61
- package/dist/model/Graph.d.ts.map +1 -1
- package/dist/model/Graph.js +160 -160
- package/dist/model/GraphAction.d.ts +1 -1
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphActionPayload.d.ts +1 -1
- package/dist/model/GraphActionPayload.js +2 -2
- package/dist/model/GraphActionResponse.d.ts +1 -1
- package/dist/model/GraphActionResponse.js +2 -2
- package/dist/model/GraphActionTypeInput.d.ts +1 -1
- package/dist/model/GraphActionTypeInput.js +2 -2
- package/dist/model/GraphActionTypeResponse.d.ts +1 -1
- package/dist/model/GraphActionTypeResponse.js +2 -2
- package/dist/model/GraphInput.d.ts +1 -1
- package/dist/model/GraphInput.js +2 -2
- package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.d.ts +21 -21
- package/dist/model/GraphObject.d.ts.map +1 -1
- package/dist/model/GraphObject.js +59 -59
- package/dist/model/GraphObjectCountResponse.d.ts +1 -1
- package/dist/model/GraphObjectCountResponse.js +2 -2
- package/dist/model/GraphObjectPayload.d.ts +1 -1
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectResponse.d.ts +1 -1
- package/dist/model/GraphObjectResponse.js +2 -2
- package/dist/model/GraphObjectType.d.ts +37 -37
- package/dist/model/GraphObjectType.d.ts.map +1 -1
- package/dist/model/GraphObjectType.js +101 -101
- package/dist/model/GraphObjectTypeDefinitionSummary.d.ts +1 -1
- package/dist/model/GraphObjectTypeDefinitionSummary.js +2 -2
- package/dist/model/GraphObjectTypeInput.d.ts +1 -1
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.d.ts +37 -37
- package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
- package/dist/model/GraphObjectTypeSchema.js +101 -101
- package/dist/model/GraphObjectTypeSummaryEntry.d.ts +1 -1
- package/dist/model/GraphObjectTypeSummaryEntry.js +2 -2
- package/dist/model/GraphObjectTypeSummaryReport.d.ts +1 -1
- package/dist/model/GraphObjectTypeSummaryReport.js +2 -2
- package/dist/model/GraphOwner.d.ts +1 -1
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRebuildDatasetRequest.d.ts +1 -1
- package/dist/model/GraphRebuildDatasetRequest.js +2 -2
- package/dist/model/GraphRebuildPriorityRequest.d.ts +1 -1
- package/dist/model/GraphRebuildPriorityRequest.js +2 -2
- package/dist/model/GraphRebuildPriorityResponse.d.ts +1 -1
- package/dist/model/GraphRebuildPriorityResponse.js +2 -2
- package/dist/model/GraphRebuildRequest.d.ts +1 -1
- package/dist/model/GraphRebuildRequest.js +2 -2
- package/dist/model/GraphRebuildStatusResponse.d.ts +1 -1
- package/dist/model/GraphRebuildStatusResponse.js +2 -2
- package/dist/model/GraphRelationship.d.ts +12 -12
- package/dist/model/GraphRelationship.d.ts.map +1 -1
- package/dist/model/GraphRelationship.js +30 -30
- package/dist/model/GraphRelationshipPayload.d.ts +1 -1
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipResponse.js +2 -2
- package/dist/model/GraphRelationshipType.d.ts +49 -49
- package/dist/model/GraphRelationshipType.d.ts.map +1 -1
- package/dist/model/GraphRelationshipType.js +134 -134
- package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeInput.js +2 -2
- package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphRelationshipTypeSummaryEntry.d.ts +1 -1
- package/dist/model/GraphRelationshipTypeSummaryEntry.js +2 -2
- package/dist/model/GraphResponse.d.ts +1 -1
- package/dist/model/GraphResponse.js +2 -2
- package/dist/model/GraphSchemaInput.d.ts +1 -1
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.d.ts +1 -1
- package/dist/model/GraphSchemaResponse.js +2 -2
- package/dist/model/GraphTraversalInput.d.ts +1 -1
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/GroupPermissionPayload.d.ts +1 -1
- package/dist/model/GroupPermissionPayload.js +2 -2
- package/dist/model/HostedConfirmation.d.ts +1 -1
- package/dist/model/HostedConfirmation.js +2 -2
- package/dist/model/Iban.d.ts +1 -1
- package/dist/model/Iban.js +2 -2
- package/dist/model/Ideal.d.ts +1 -1
- package/dist/model/Ideal.js +2 -2
- package/dist/model/Image.d.ts +1 -1
- package/dist/model/Image.js +2 -2
- package/dist/model/IncrementalAuthorization.d.ts +1 -1
- package/dist/model/IncrementalAuthorization.js +2 -2
- package/dist/model/IndexFilter.d.ts +1 -1
- package/dist/model/IndexFilter.js +2 -2
- package/dist/model/InheritedPayload.d.ts +1 -1
- package/dist/model/InheritedPayload.js +2 -2
- package/dist/model/InputPart.d.ts +10 -10
- package/dist/model/InputPart.d.ts.map +1 -1
- package/dist/model/InputPart.js +27 -27
- package/dist/model/InputPartHeaders.d.ts +1 -1
- package/dist/model/InputPartHeaders.js +2 -2
- package/dist/model/Installments.d.ts +1 -1
- package/dist/model/Installments.js +2 -2
- package/dist/model/IntegrationInstanceInput.d.ts +1 -1
- package/dist/model/IntegrationInstanceInput.js +2 -2
- package/dist/model/InteracPresent.d.ts +1 -1
- package/dist/model/InteracPresent.js +2 -2
- package/dist/model/InviteMembersInput.d.ts +1 -1
- package/dist/model/InviteMembersInput.js +2 -2
- package/dist/model/Invoice.d.ts +37 -37
- package/dist/model/Invoice.d.ts.map +1 -1
- package/dist/model/Invoice.js +111 -111
- package/dist/model/InvoiceCreation.d.ts +1 -1
- package/dist/model/InvoiceCreation.js +2 -2
- package/dist/model/InvoiceData.d.ts +1 -1
- package/dist/model/InvoiceData.js +2 -2
- package/dist/model/InvoiceFromPricebookInput.d.ts +1 -1
- package/dist/model/InvoiceFromPricebookInput.js +2 -2
- package/dist/model/InvoiceInput.d.ts +1 -1
- package/dist/model/InvoiceInput.js +2 -2
- package/dist/model/InvoiceItem.d.ts +15 -15
- package/dist/model/InvoiceItem.d.ts.map +1 -1
- package/dist/model/InvoiceItem.js +47 -47
- package/dist/model/InvoiceLineItem.d.ts +1 -1
- package/dist/model/InvoiceLineItem.js +2 -2
- package/dist/model/InvoiceLineItemCollection.d.ts +1 -1
- package/dist/model/InvoiceLineItemCollection.js +2 -2
- package/dist/model/InvoiceLineItemInput.d.ts +1 -1
- package/dist/model/InvoiceLineItemInput.js +2 -2
- package/dist/model/InvoiceResponse.d.ts +1 -1
- package/dist/model/InvoiceResponse.js +2 -2
- package/dist/model/InvoiceSettings.d.ts +1 -1
- package/dist/model/InvoiceSettings.js +2 -2
- package/dist/model/IpAddressLocation.d.ts +1 -1
- package/dist/model/IpAddressLocation.js +2 -2
- package/dist/model/Item.d.ts +1 -1
- package/dist/model/Item.js +2 -2
- package/dist/model/ItemReason.d.ts +1 -1
- package/dist/model/ItemReason.js +2 -2
- package/dist/model/JsonArray.d.ts +1 -1
- package/dist/model/JsonArray.js +2 -2
- package/dist/model/JsonNull.d.ts +28 -28
- package/dist/model/JsonNull.d.ts.map +1 -1
- package/dist/model/JsonNull.js +82 -82
- package/dist/model/JsonObject.d.ts +1 -1
- package/dist/model/JsonObject.js +2 -2
- package/dist/model/JsonPrimitive.d.ts +33 -33
- package/dist/model/JsonPrimitive.d.ts.map +1 -1
- package/dist/model/JsonPrimitive.js +94 -94
- package/dist/model/JsonValue.d.ts +1 -1
- package/dist/model/JsonValue.js +2 -2
- package/dist/model/KafkaSettings.d.ts +1 -1
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/KeycloakConfigInput.d.ts +1 -1
- package/dist/model/KeycloakConfigInput.js +2 -2
- package/dist/model/KeycloakConfigResponse.d.ts +1 -1
- package/dist/model/KeycloakConfigResponse.js +2 -2
- package/dist/model/Klarna.d.ts +1 -1
- package/dist/model/Klarna.js +2 -2
- package/dist/model/Konbini.d.ts +1 -1
- package/dist/model/Konbini.js +2 -2
- package/dist/model/KonbiniDisplayDetails.d.ts +1 -1
- package/dist/model/KonbiniDisplayDetails.js +2 -2
- package/dist/model/Label.d.ts +1 -1
- package/dist/model/Label.js +2 -2
- package/dist/model/LaunchTemplateExecutionRequest.d.ts +1 -1
- package/dist/model/LaunchTemplateExecutionRequest.js +2 -2
- package/dist/model/LaunchTemplateExecutionResponse.d.ts +1 -1
- package/dist/model/LaunchTemplateExecutionResponse.js +2 -2
- package/dist/model/LaunchTemplateInput.d.ts +1 -1
- package/dist/model/LaunchTemplateInput.js +2 -2
- package/dist/model/LaunchTemplateObject.d.ts +1 -1
- package/dist/model/LaunchTemplateObject.js +2 -2
- package/dist/model/LaunchTemplateResponse.d.ts +1 -1
- package/dist/model/LaunchTemplateResponse.js +2 -2
- package/dist/model/Lawson.d.ts +1 -1
- package/dist/model/Lawson.js +2 -2
- package/dist/model/Level3.d.ts +1 -1
- package/dist/model/Level3.js +2 -2
- package/dist/model/LineItem.d.ts +1 -1
- package/dist/model/LineItem.js +2 -2
- package/dist/model/LineItemCollection.d.ts +1 -1
- package/dist/model/LineItemCollection.js +2 -2
- package/dist/model/LineItemInput.d.ts +1 -1
- package/dist/model/LineItemInput.js +2 -2
- package/dist/model/Link.d.ts +1 -1
- package/dist/model/Link.js +2 -2
- package/dist/model/LinkInput.d.ts +1 -1
- package/dist/model/LinkInput.js +2 -2
- package/dist/model/LinkResponse.d.ts +1 -1
- package/dist/model/LinkResponse.js +2 -2
- package/dist/model/LiveStreamInfo.d.ts +1 -1
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/Location.d.ts +1 -1
- package/dist/model/Location.js +2 -2
- package/dist/model/MainPhoto.d.ts +1 -1
- package/dist/model/MainPhoto.js +2 -2
- package/dist/model/MainPhotoInput.d.ts +1 -1
- package/dist/model/MainPhotoInput.js +2 -2
- package/dist/model/Mandate.d.ts +1 -1
- package/dist/model/Mandate.js +2 -2
- package/dist/model/MandateOptions.d.ts +1 -1
- package/dist/model/MandateOptions.js +2 -2
- package/dist/model/Masterpass.d.ts +1 -1
- package/dist/model/Masterpass.js +2 -2
- package/dist/model/Maximum.d.ts +1 -1
- package/dist/model/Maximum.js +2 -2
- package/dist/model/MediaType.d.ts +1 -1
- package/dist/model/MediaType.js +2 -2
- package/dist/model/MeetingEventInput.d.ts +1 -1
- package/dist/model/MeetingEventInput.js +2 -2
- package/dist/model/MeetingEventResponse.d.ts +1 -1
- package/dist/model/MeetingEventResponse.js +2 -2
- package/dist/model/MeetingEventTypeInput.d.ts +1 -1
- package/dist/model/MeetingEventTypeInput.js +2 -2
- package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
- package/dist/model/MeetingEventTypeResponse.js +2 -2
- package/dist/model/MeetingInfo.d.ts +10 -10
- package/dist/model/MeetingInfo.d.ts.map +1 -1
- package/dist/model/MeetingInfo.js +31 -31
- package/dist/model/Member.d.ts +10 -10
- package/dist/model/Member.d.ts.map +1 -1
- package/dist/model/Member.js +31 -31
- package/dist/model/MemberList.d.ts +1 -1
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MemberManagerConfigInput.d.ts +1 -1
- package/dist/model/MemberManagerConfigInput.js +2 -2
- package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
- package/dist/model/MemberManagerConfigResponse.js +2 -2
- package/dist/model/MemberManagerInput.d.ts +1 -1
- package/dist/model/MemberManagerInput.js +2 -2
- package/dist/model/MemberManagerResponse.d.ts +1 -1
- package/dist/model/MemberManagerResponse.js +2 -2
- package/dist/model/MemberManagerSecretInput.d.ts +1 -1
- package/dist/model/MemberManagerSecretInput.js +2 -2
- package/dist/model/MemberManagerSecretResponse.d.ts +1 -1
- package/dist/model/MemberManagerSecretResponse.js +2 -2
- package/dist/model/MemoryCandidate.d.ts +1 -1
- package/dist/model/MemoryCandidate.js +2 -2
- package/dist/model/MenuInput.d.ts +1 -1
- package/dist/model/MenuInput.js +2 -2
- package/dist/model/MenuItemInput.d.ts +1 -1
- package/dist/model/MenuItemInput.js +2 -2
- package/dist/model/MenuItemResponse.d.ts +1 -1
- package/dist/model/MenuItemResponse.js +2 -2
- package/dist/model/MenuResponse.d.ts +1 -1
- package/dist/model/MenuResponse.js +2 -2
- package/dist/model/Message.d.ts +1 -1
- package/dist/model/Message.js +2 -2
- package/dist/model/Minimum.d.ts +1 -1
- package/dist/model/Minimum.js +2 -2
- package/dist/model/Ministop.d.ts +1 -1
- package/dist/model/Ministop.js +2 -2
- package/dist/model/MonthlyEstimatedRevenue.d.ts +1 -1
- package/dist/model/MonthlyEstimatedRevenue.js +2 -2
- package/dist/model/MultiUse.d.ts +1 -1
- package/dist/model/MultiUse.js +2 -2
- package/dist/model/Multibanco.d.ts +1 -1
- package/dist/model/Multibanco.js +2 -2
- package/dist/model/Multicapture.d.ts +1 -1
- package/dist/model/Multicapture.js +2 -2
- package/dist/model/MultivaluedMapStringString.d.ts +1 -1
- package/dist/model/MultivaluedMapStringString.js +2 -2
- package/dist/model/N8nSettings.d.ts +1 -1
- package/dist/model/N8nSettings.js +2 -2
- package/dist/model/NetworkToken.d.ts +1 -1
- package/dist/model/NetworkToken.js +2 -2
- package/dist/model/Networks.d.ts +1 -1
- package/dist/model/Networks.js +2 -2
- package/dist/model/NextAction.d.ts +1 -1
- package/dist/model/NextAction.js +2 -2
- package/dist/model/NotificationInput.d.ts +1 -1
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.d.ts +1 -1
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettingsInput.d.ts +1 -1
- package/dist/model/NumberSettingsInput.js +2 -2
- package/dist/model/NumberSettingsResponse.d.ts +1 -1
- package/dist/model/NumberSettingsResponse.js +2 -2
- package/dist/model/Numeric.d.ts +1 -1
- package/dist/model/Numeric.js +2 -2
- package/dist/model/ObjectSettingsInput.d.ts +1 -1
- package/dist/model/ObjectSettingsInput.js +2 -2
- package/dist/model/ObjectSettingsResponse.d.ts +1 -1
- package/dist/model/ObjectSettingsResponse.js +2 -2
- package/dist/model/Objecttype.d.ts +37 -37
- package/dist/model/Objecttype.d.ts.map +1 -1
- package/dist/model/Objecttype.js +101 -101
- package/dist/model/Offline.d.ts +1 -1
- package/dist/model/Offline.js +2 -2
- package/dist/model/OnActionCreateRelatedConfigInput.d.ts +1 -1
- package/dist/model/OnActionCreateRelatedConfigInput.js +2 -2
- package/dist/model/OnActionEmailConfigInput.d.ts +1 -1
- package/dist/model/OnActionEmailConfigInput.js +2 -2
- package/dist/model/OnActionFieldChangeLogActivityConfigInput.d.ts +1 -1
- package/dist/model/OnActionFieldChangeLogActivityConfigInput.js +2 -2
- package/dist/model/OnActionFieldEqualsConfigInput.d.ts +1 -1
- package/dist/model/OnActionFieldEqualsConfigInput.js +2 -2
- package/dist/model/OnActionInvokeFunctionConfigInput.d.ts +1 -1
- package/dist/model/OnActionInvokeFunctionConfigInput.js +2 -2
- package/dist/model/OnActionNotifyConfigInput.d.ts +1 -1
- package/dist/model/OnActionNotifyConfigInput.js +2 -2
- package/dist/model/OnActionWorkflowConfigInput.d.ts +1 -1
- package/dist/model/OnActionWorkflowConfigInput.js +2 -2
- package/dist/model/OnChildChangeParentUpdateConfigInput.d.ts +1 -1
- package/dist/model/OnChildChangeParentUpdateConfigInput.js +2 -2
- package/dist/model/OnFieldChangeLogActivityConfigInput.d.ts +1 -1
- package/dist/model/OnFieldChangeLogActivityConfigInput.js +2 -2
- package/dist/model/OnRecordCreateRelatedConfigInput.d.ts +1 -1
- package/dist/model/OnRecordCreateRelatedConfigInput.js +2 -2
- package/dist/model/OnRecordEmailConfigInput.d.ts +1 -1
- package/dist/model/OnRecordEmailConfigInput.js +2 -2
- package/dist/model/OnRecordFieldEqualsConfigInput.d.ts +1 -1
- package/dist/model/OnRecordFieldEqualsConfigInput.js +2 -2
- package/dist/model/OnRecordInvokeFunctionConfigInput.d.ts +1 -1
- package/dist/model/OnRecordInvokeFunctionConfigInput.js +2 -2
- package/dist/model/OnRecordNotifyConfigInput.d.ts +1 -1
- package/dist/model/OnRecordNotifyConfigInput.js +2 -2
- package/dist/model/OnRecordWorkflowConfigInput.d.ts +1 -1
- package/dist/model/OnRecordWorkflowConfigInput.js +2 -2
- package/dist/model/OnRelationshipCreateRelatedConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipCreateRelatedConfigInput.js +2 -2
- package/dist/model/OnRelationshipEmailConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipEmailConfigInput.js +2 -2
- package/dist/model/OnRelationshipFieldChangeLogActivityConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipFieldChangeLogActivityConfigInput.js +2 -2
- package/dist/model/OnRelationshipFieldEqualsConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipFieldEqualsConfigInput.js +2 -2
- package/dist/model/OnRelationshipInvokeFunctionConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipInvokeFunctionConfigInput.js +2 -2
- package/dist/model/OnRelationshipNotifyConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipNotifyConfigInput.js +2 -2
- package/dist/model/OnRelationshipWorkflowConfigInput.d.ts +1 -1
- package/dist/model/OnRelationshipWorkflowConfigInput.js +2 -2
- package/dist/model/Online.d.ts +1 -1
- package/dist/model/Online.js +2 -2
- package/dist/model/Option.d.ts +1 -1
- package/dist/model/Option.js +2 -2
- package/dist/model/OutParameter.d.ts +1 -1
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Outcome.d.ts +1 -1
- package/dist/model/Outcome.js +2 -2
- package/dist/model/Overcapture.d.ts +1 -1
- package/dist/model/Overcapture.js +2 -2
- package/dist/model/OwnershipDeclaration.d.ts +1 -1
- package/dist/model/OwnershipDeclaration.js +2 -2
- package/dist/model/Oxxo.d.ts +1 -1
- package/dist/model/Oxxo.js +2 -2
- package/dist/model/OxxoDisplayDetails.d.ts +1 -1
- package/dist/model/OxxoDisplayDetails.js +2 -2
- package/dist/model/P24.d.ts +1 -1
- package/dist/model/P24.js +2 -2
- package/dist/model/PackageDimensions.d.ts +1 -1
- package/dist/model/PackageDimensions.js +2 -2
- package/dist/model/PageInput.d.ts +1 -1
- package/dist/model/PageInput.js +2 -2
- package/dist/model/PageLayoutCloneInput.d.ts +1 -1
- package/dist/model/PageLayoutCloneInput.js +2 -2
- package/dist/model/PageLayoutInput.d.ts +1 -1
- package/dist/model/PageLayoutInput.js +2 -2
- package/dist/model/PageLayoutResponse.d.ts +1 -1
- package/dist/model/PageLayoutResponse.js +2 -2
- package/dist/model/PageLayoutSection.d.ts +1 -1
- package/dist/model/PageLayoutSection.js +2 -2
- package/dist/model/PageResponse.d.ts +1 -1
- package/dist/model/PageResponse.js +2 -2
- package/dist/model/PageTypeInput.d.ts +1 -1
- package/dist/model/PageTypeInput.js +2 -2
- package/dist/model/PageTypeResponse.d.ts +1 -1
- package/dist/model/PageTypeResponse.js +2 -2
- package/dist/model/Parameter.d.ts +1 -1
- package/dist/model/Parameter.js +2 -2
- package/dist/model/PasswordResetCompleteByEmailRequest.d.ts +1 -1
- package/dist/model/PasswordResetCompleteByEmailRequest.js +2 -2
- package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
- package/dist/model/PasswordResetInitiateRequest.js +2 -2
- package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
- package/dist/model/PasswordResetInitiateResponse.js +2 -2
- package/dist/model/PasswordResetRequest.d.ts +1 -1
- package/dist/model/PasswordResetRequest.js +2 -2
- package/dist/model/PasswordResetResponse.d.ts +1 -1
- package/dist/model/PasswordResetResponse.js +2 -2
- package/dist/model/PasswordResetValidateByEmailRequest.d.ts +1 -1
- package/dist/model/PasswordResetValidateByEmailRequest.js +2 -2
- package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
- package/dist/model/PasswordResetValidationResponse.js +2 -2
- package/dist/model/Path.d.ts +1 -1
- package/dist/model/Path.js +2 -2
- package/dist/model/PauseCollection.d.ts +1 -1
- package/dist/model/PauseCollection.js +2 -2
- package/dist/model/PaymentAccountObject.d.ts +1 -1
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntent.d.ts +19 -19
- package/dist/model/PaymentIntent.d.ts.map +1 -1
- package/dist/model/PaymentIntent.js +62 -62
- package/dist/model/PaymentIntentData.d.ts +1 -1
- package/dist/model/PaymentIntentData.js +2 -2
- package/dist/model/PaymentIntentInput.d.ts +1 -1
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.d.ts +1 -1
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentLink.d.ts +10 -10
- package/dist/model/PaymentLink.d.ts.map +1 -1
- package/dist/model/PaymentLink.js +32 -32
- package/dist/model/PaymentMethod.d.ts +1 -1
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodConfigurationDetails.d.ts +1 -1
- package/dist/model/PaymentMethodConfigurationDetails.js +2 -2
- package/dist/model/PaymentMethodDetails.d.ts +1 -1
- package/dist/model/PaymentMethodDetails.js +2 -2
- package/dist/model/PaymentMethodInput.d.ts +1 -1
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodOptions.d.ts +1 -1
- package/dist/model/PaymentMethodOptions.js +2 -2
- package/dist/model/PaymentMethodResponse.d.ts +1 -1
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.d.ts +1 -1
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/PaymentRoutingConfigRequest.d.ts +56 -0
- package/dist/model/PaymentRoutingConfigRequest.d.ts.map +1 -0
- package/dist/model/PaymentRoutingConfigRequest.js +162 -0
- package/dist/model/PaymentRoutingConfigResponse.d.ts +101 -0
- package/dist/model/PaymentRoutingConfigResponse.d.ts.map +1 -0
- package/dist/model/PaymentRoutingConfigResponse.js +303 -0
- package/dist/model/PaymentSettings.d.ts +1 -1
- package/dist/model/PaymentSettings.js +2 -2
- package/dist/model/PaymentSource.d.ts +1 -1
- package/dist/model/PaymentSource.js +2 -2
- package/dist/model/PaymentSourceCollection.d.ts +1 -1
- package/dist/model/PaymentSourceCollection.js +2 -2
- package/dist/model/Payments.d.ts +1 -1
- package/dist/model/Payments.js +2 -2
- package/dist/model/Paynow.d.ts +1 -1
- package/dist/model/Paynow.js +2 -2
- package/dist/model/PaynowDisplayQrCode.d.ts +1 -1
- package/dist/model/PaynowDisplayQrCode.js +2 -2
- package/dist/model/Payout.d.ts +12 -12
- package/dist/model/Payout.d.ts.map +1 -1
- package/dist/model/Payout.js +31 -31
- package/dist/model/PayoutInput.d.ts +1 -1
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.d.ts +1 -1
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Payouts.d.ts +1 -1
- package/dist/model/Payouts.js +2 -2
- package/dist/model/Paypal.d.ts +1 -1
- package/dist/model/Paypal.js +2 -2
- package/dist/model/Pdf.d.ts +1 -1
- package/dist/model/Pdf.js +2 -2
- package/dist/model/PendingInvoiceItemInterval.d.ts +1 -1
- package/dist/model/PendingInvoiceItemInterval.js +2 -2
- package/dist/model/PendingUpdate.d.ts +1 -1
- package/dist/model/PendingUpdate.js +2 -2
- package/dist/model/Period.d.ts +1 -1
- package/dist/model/Period.js +2 -2
- package/dist/model/PermissionOnlyPayload.d.ts +1 -1
- package/dist/model/PermissionOnlyPayload.js +2 -2
- package/dist/model/Person.d.ts +1 -1
- package/dist/model/Person.js +2 -2
- package/dist/model/Phase.d.ts +10 -10
- package/dist/model/Phase.d.ts.map +1 -1
- package/dist/model/Phase.js +32 -32
- package/dist/model/PhoneNumber.d.ts +1 -1
- package/dist/model/PhoneNumber.js +2 -2
- package/dist/model/PhoneNumberCollection.d.ts +1 -1
- package/dist/model/PhoneNumberCollection.js +2 -2
- package/dist/model/PiiFieldPrivilegeSuggestion.d.ts +1 -1
- package/dist/model/PiiFieldPrivilegeSuggestion.js +2 -2
- package/dist/model/Pix.d.ts +1 -1
- package/dist/model/Pix.js +2 -2
- package/dist/model/PixDisplayQrCode.d.ts +1 -1
- package/dist/model/PixDisplayQrCode.js +2 -2
- package/dist/model/Plan.d.ts +1 -1
- package/dist/model/Plan.js +2 -2
- package/dist/model/PlatformEntryPartTypeCatalogEntry.d.ts +1 -1
- package/dist/model/PlatformEntryPartTypeCatalogEntry.js +2 -2
- package/dist/model/PlatformEntryPartTypeResponse.d.ts +1 -1
- package/dist/model/PlatformEntryPartTypeResponse.js +2 -2
- package/dist/model/PlatformPageLayoutCatalogEntry.d.ts +1 -1
- package/dist/model/PlatformPageLayoutCatalogEntry.js +2 -2
- package/dist/model/PlatformWidgetCatalogEntry.d.ts +1 -1
- package/dist/model/PlatformWidgetCatalogEntry.js +2 -2
- package/dist/model/PolicyBody.d.ts +1 -1
- package/dist/model/PolicyBody.js +2 -2
- package/dist/model/PolicyDefaultsMigrationResponse.d.ts +1 -1
- package/dist/model/PolicyDefaultsMigrationResponse.js +2 -2
- package/dist/model/PolicyDefaultsTypeGenerationResponse.d.ts +1 -1
- package/dist/model/PolicyDefaultsTypeGenerationResponse.js +2 -2
- package/dist/model/PolicyDefaultsTypeNotFoundResponse.d.ts +1 -1
- package/dist/model/PolicyDefaultsTypeNotFoundResponse.js +2 -2
- package/dist/model/PolicyDocument.d.ts +1 -1
- package/dist/model/PolicyDocument.js +2 -2
- package/dist/model/PolicyRequest.d.ts +1 -1
- package/dist/model/PolicyRequest.js +2 -2
- package/dist/model/PolicyResponse.d.ts +1 -1
- package/dist/model/PolicyResponse.js +2 -2
- package/dist/model/PolicyValidationRequest.d.ts +1 -1
- package/dist/model/PolicyValidationRequest.js +2 -2
- package/dist/model/PolicyValidationResponse.d.ts +1 -1
- package/dist/model/PolicyValidationResponse.js +2 -2
- package/dist/model/Position.d.ts +1 -1
- package/dist/model/Position.js +2 -2
- package/dist/model/PostInput.d.ts +1 -1
- package/dist/model/PostInput.js +2 -2
- package/dist/model/PostResponse.d.ts +1 -1
- package/dist/model/PostResponse.js +2 -2
- package/dist/model/Price.d.ts +1 -1
- package/dist/model/Price.js +2 -2
- package/dist/model/PriceInput.d.ts +1 -1
- package/dist/model/PriceInput.js +2 -2
- package/dist/model/PriceOutput.d.ts +1 -1
- package/dist/model/PriceOutput.js +2 -2
- package/dist/model/PriceResponse.d.ts +1 -1
- package/dist/model/PriceResponse.js +2 -2
- package/dist/model/Pricebook.d.ts +1 -1
- package/dist/model/Pricebook.js +2 -2
- package/dist/model/PricebookInput.d.ts +1 -1
- package/dist/model/PricebookInput.js +2 -2
- package/dist/model/PricebookResponse.d.ts +1 -1
- package/dist/model/PricebookResponse.js +2 -2
- package/dist/model/PrincipalPermissionsResponse.d.ts +1 -1
- package/dist/model/PrincipalPermissionsResponse.js +2 -2
- package/dist/model/PrincipalRolePermissionsEntry.d.ts +1 -1
- package/dist/model/PrincipalRolePermissionsEntry.js +2 -2
- package/dist/model/PrivateMessageConversationPayload.d.ts +1 -1
- package/dist/model/PrivateMessageConversationPayload.js +2 -2
- package/dist/model/PrivateMessageConversationReadRequest.d.ts +1 -1
- package/dist/model/PrivateMessageConversationReadRequest.js +2 -2
- package/dist/model/PrivateMessageConversationReadResponse.d.ts +1 -1
- package/dist/model/PrivateMessageConversationReadResponse.js +2 -2
- package/dist/model/PrivateMessageConversationResponse.d.ts +1 -1
- package/dist/model/PrivateMessageConversationResponse.js +2 -2
- package/dist/model/PrivateMessageDirectConversationRequest.d.ts +1 -1
- package/dist/model/PrivateMessageDirectConversationRequest.js +2 -2
- package/dist/model/PrivateMessageGroupResponse.d.ts +1 -1
- package/dist/model/PrivateMessageGroupResponse.js +2 -2
- package/dist/model/PrivateMessageInput.d.ts +1 -1
- package/dist/model/PrivateMessageInput.js +2 -2
- package/dist/model/PrivateMessageLinkInput.d.ts +1 -1
- package/dist/model/PrivateMessageLinkInput.js +2 -2
- package/dist/model/PrivateMessageResponse.d.ts +1 -1
- package/dist/model/PrivateMessageResponse.js +2 -2
- package/dist/model/ProcessDefinitionInput.d.ts +1 -1
- package/dist/model/ProcessDefinitionInput.js +2 -2
- package/dist/model/ProcessDefinitionResponse.d.ts +1 -1
- package/dist/model/ProcessDefinitionResponse.js +2 -2
- package/dist/model/Processing.d.ts +1 -1
- package/dist/model/Processing.js +2 -2
- package/dist/model/Product.d.ts +1 -1
- package/dist/model/Product.js +2 -2
- package/dist/model/ProductCategoryInput.d.ts +1 -1
- package/dist/model/ProductCategoryInput.js +2 -2
- package/dist/model/ProductCategoryOutput.d.ts +1 -1
- package/dist/model/ProductCategoryOutput.js +2 -2
- package/dist/model/ProductCategoryResponse.d.ts +1 -1
- package/dist/model/ProductCategoryResponse.js +2 -2
- package/dist/model/ProductInput.d.ts +1 -1
- package/dist/model/ProductInput.js +2 -2
- package/dist/model/ProductOutput.d.ts +1 -1
- package/dist/model/ProductOutput.js +2 -2
- package/dist/model/ProductResponse.d.ts +1 -1
- package/dist/model/ProductResponse.js +2 -2
- package/dist/model/Profile.d.ts +1 -1
- package/dist/model/Profile.js +2 -2
- package/dist/model/ProfilePatch.d.ts +1 -1
- package/dist/model/ProfilePatch.js +2 -2
- package/dist/model/Profiletype.d.ts +1 -1
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PromotionCode.d.ts +1 -1
- package/dist/model/PromotionCode.js +2 -2
- package/dist/model/Promptpay.d.ts +1 -1
- package/dist/model/Promptpay.js +2 -2
- package/dist/model/PromptpayDisplayQrCode.d.ts +1 -1
- package/dist/model/PromptpayDisplayQrCode.js +2 -2
- package/dist/model/ProrationDetails.d.ts +1 -1
- package/dist/model/ProrationDetails.js +2 -2
- package/dist/model/Provider.d.ts +1 -1
- package/dist/model/Provider.js +2 -2
- package/dist/model/Provider1.d.ts +1 -1
- package/dist/model/Provider1.js +2 -2
- package/dist/model/ProxyServerInput.d.ts +1 -1
- package/dist/model/ProxyServerInput.js +2 -2
- package/dist/model/ProxyServerResponse.d.ts +1 -1
- package/dist/model/ProxyServerResponse.js +2 -2
- package/dist/model/PublicationInput.d.ts +1 -1
- package/dist/model/PublicationInput.js +2 -2
- package/dist/model/PublicationResponse.d.ts +1 -1
- package/dist/model/PublicationResponse.js +2 -2
- package/dist/model/PurchaseInput.d.ts +1 -1
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseProvidersResponse.d.ts +1 -1
- package/dist/model/PurchaseProvidersResponse.js +2 -2
- package/dist/model/PurchaseResponse.d.ts +1 -1
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
- package/dist/model/PurgeDataDefaultResponse.js +2 -2
- package/dist/model/QrCode.d.ts +1 -1
- package/dist/model/QrCode.js +2 -2
- package/dist/model/Quote.d.ts +24 -24
- package/dist/model/Quote.d.ts.map +1 -1
- package/dist/model/Quote.js +77 -77
- package/dist/model/RadarOptions.d.ts +1 -1
- package/dist/model/RadarOptions.js +2 -2
- package/dist/model/RbacDefinitionContextMigrationResponse.d.ts +1 -1
- package/dist/model/RbacDefinitionContextMigrationResponse.js +2 -2
- package/dist/model/RbacDefinitionContextResponse.d.ts +1 -1
- package/dist/model/RbacDefinitionContextResponse.js +2 -2
- package/dist/model/Receipt.d.ts +1 -1
- package/dist/model/Receipt.js +2 -2
- package/dist/model/Recovery.d.ts +1 -1
- package/dist/model/Recovery.js +2 -2
- package/dist/model/Recurring.d.ts +1 -1
- package/dist/model/Recurring.js +2 -2
- package/dist/model/RecurringInput.d.ts +1 -1
- package/dist/model/RecurringInput.js +2 -2
- package/dist/model/Redirect.d.ts +1 -1
- package/dist/model/Redirect.js +2 -2
- package/dist/model/RedirectToUrl.d.ts +1 -1
- package/dist/model/RedirectToUrl.js +2 -2
- package/dist/model/Refund.d.ts +10 -10
- package/dist/model/Refund.d.ts.map +1 -1
- package/dist/model/Refund.js +32 -32
- package/dist/model/RefundCollection.d.ts +1 -1
- package/dist/model/RefundCollection.js +2 -2
- package/dist/model/Relationship.d.ts +1 -1
- package/dist/model/Relationship.js +2 -2
- package/dist/model/RelationshipMapping.d.ts +1 -1
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/Rendering.d.ts +1 -1
- package/dist/model/Rendering.js +2 -2
- package/dist/model/RenderingOptions.d.ts +1 -1
- package/dist/model/RenderingOptions.js +2 -2
- package/dist/model/RequestLogConfigRequest.d.ts +1 -1
- package/dist/model/RequestLogConfigRequest.js +2 -2
- package/dist/model/RequestLogConfigResponse.d.ts +1 -1
- package/dist/model/RequestLogConfigResponse.js +2 -2
- package/dist/model/RequestLogDetailResponse.d.ts +1 -1
- package/dist/model/RequestLogDetailResponse.js +2 -2
- package/dist/model/RequestLogListItemResponse.d.ts +1 -1
- package/dist/model/RequestLogListItemResponse.js +2 -2
- package/dist/model/RequestLogPageResponse.d.ts +1 -1
- package/dist/model/RequestLogPageResponse.js +2 -2
- package/dist/model/RequestOptions.d.ts +1 -1
- package/dist/model/RequestOptions.js +2 -2
- package/dist/model/RequestOptionsProxyCredential.d.ts +1 -1
- package/dist/model/RequestOptionsProxyCredential.js +2 -2
- package/dist/model/Requirements.d.ts +1 -1
- package/dist/model/Requirements.js +2 -2
- package/dist/model/ResponseProjectionInput.d.ts +1 -1
- package/dist/model/ResponseProjectionInput.js +2 -2
- package/dist/model/RestApplicationInput.d.ts +1 -1
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.d.ts +1 -1
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/Restrictions.d.ts +1 -1
- package/dist/model/Restrictions.js +2 -2
- package/dist/model/Review.d.ts +1 -1
- package/dist/model/Review.js +2 -2
- package/dist/model/RevolutPay.d.ts +1 -1
- package/dist/model/RevolutPay.js +2 -2
- package/dist/model/RoleConflictResponse.d.ts +1 -1
- package/dist/model/RoleConflictResponse.js +2 -2
- package/dist/model/RolePermissionPayload.d.ts +1 -1
- package/dist/model/RolePermissionPayload.js +2 -2
- package/dist/model/RolePermissionsResponse.d.ts +1 -1
- package/dist/model/RolePermissionsResponse.js +2 -2
- package/dist/model/RoleRequest.d.ts +1 -1
- package/dist/model/RoleRequest.js +2 -2
- package/dist/model/RoleResponse.d.ts +1 -1
- package/dist/model/RoleResponse.js +2 -2
- package/dist/model/Rule.d.ts +1 -1
- package/dist/model/Rule.js +2 -2
- package/dist/model/SamsungPay.d.ts +1 -1
- package/dist/model/SamsungPay.js +2 -2
- package/dist/model/Schedule.d.ts +1 -1
- package/dist/model/Schedule.js +2 -2
- package/dist/model/ScheduledAutomationInput.d.ts +1 -1
- package/dist/model/ScheduledAutomationInput.js +2 -2
- package/dist/model/ScheduledAutomationResponse.d.ts +1 -1
- package/dist/model/ScheduledAutomationResponse.js +2 -2
- package/dist/model/Schema.d.ts +1 -1
- package/dist/model/Schema.js +2 -2
- package/dist/model/SchemaAccessControlPolicyGroups.d.ts +1 -1
- package/dist/model/SchemaAccessControlPolicyGroups.js +2 -2
- package/dist/model/SchemaAccessControlResponse.d.ts +1 -1
- package/dist/model/SchemaAccessControlResponse.js +2 -2
- package/dist/model/SchemaAccessControlRoleGroups.d.ts +1 -1
- package/dist/model/SchemaAccessControlRoleGroups.js +2 -2
- package/dist/model/SchemaDeploymentSettingsDto.d.ts +1 -1
- package/dist/model/SchemaDeploymentSettingsDto.js +2 -2
- package/dist/model/SchemaTypePolicyGroup.d.ts +1 -1
- package/dist/model/SchemaTypePolicyGroup.js +2 -2
- package/dist/model/SchemaViewInput.d.ts +1 -1
- package/dist/model/SchemaViewInput.js +2 -2
- package/dist/model/SchemaViewResponse.d.ts +1 -1
- package/dist/model/SchemaViewResponse.js +2 -2
- package/dist/model/ScreenSchema.d.ts +37 -37
- package/dist/model/ScreenSchema.d.ts.map +1 -1
- package/dist/model/ScreenSchema.js +105 -105
- package/dist/model/Seicomart.d.ts +1 -1
- package/dist/model/Seicomart.js +2 -2
- package/dist/model/SellerProtection.d.ts +1 -1
- package/dist/model/SellerProtection.js +2 -2
- package/dist/model/SendEmailInput.d.ts +1 -1
- package/dist/model/SendEmailInput.js +2 -2
- package/dist/model/SendEmailResponse.d.ts +1 -1
- package/dist/model/SendEmailResponse.js +2 -2
- package/dist/model/SepaCreditTransfer.d.ts +1 -1
- package/dist/model/SepaCreditTransfer.js +2 -2
- package/dist/model/SepaDebit.d.ts +1 -1
- package/dist/model/SepaDebit.js +2 -2
- package/dist/model/SepaDebitPayments.d.ts +1 -1
- package/dist/model/SepaDebitPayments.js +2 -2
- package/dist/model/Session.d.ts +1 -1
- package/dist/model/Session.js +2 -2
- package/dist/model/Settings.d.ts +1 -1
- package/dist/model/Settings.js +2 -2
- package/dist/model/SetupAttempt.d.ts +10 -10
- package/dist/model/SetupAttempt.d.ts.map +1 -1
- package/dist/model/SetupAttempt.js +32 -32
- package/dist/model/SetupIntent.d.ts +10 -10
- package/dist/model/SetupIntent.d.ts.map +1 -1
- package/dist/model/SetupIntent.js +32 -32
- package/dist/model/ShippingAddress.d.ts +1 -1
- package/dist/model/ShippingAddress.js +2 -2
- package/dist/model/ShippingAddressCollection.d.ts +1 -1
- package/dist/model/ShippingAddressCollection.js +2 -2
- package/dist/model/ShippingCost.d.ts +1 -1
- package/dist/model/ShippingCost.js +2 -2
- package/dist/model/ShippingDetails.d.ts +1 -1
- package/dist/model/ShippingDetails.js +2 -2
- package/dist/model/ShippingOption.d.ts +1 -1
- package/dist/model/ShippingOption.js +2 -2
- package/dist/model/ShippingRate.d.ts +1 -1
- package/dist/model/ShippingRate.js +2 -2
- package/dist/model/SingleUse.d.ts +1 -1
- package/dist/model/SingleUse.js +2 -2
- package/dist/model/SiteInput.d.ts +1 -1
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.d.ts +1 -1
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.d.ts +1 -1
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.d.ts +1 -1
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.d.ts +84 -84
- package/dist/model/SkinField.d.ts.map +1 -1
- package/dist/model/SkinField.js +226 -226
- package/dist/model/SkinFieldInput.d.ts +1 -1
- package/dist/model/SkinFieldInput.js +2 -2
- package/dist/model/SkinFieldResponse.d.ts +1 -1
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SlackNotifyConfigInput.d.ts +1 -1
- package/dist/model/SlackNotifyConfigInput.js +2 -2
- package/dist/model/SocialAuthConfigRequest.d.ts +1 -1
- package/dist/model/SocialAuthConfigRequest.js +2 -2
- package/dist/model/SocialAuthConfigResponse.d.ts +1 -1
- package/dist/model/SocialAuthConfigResponse.js +2 -2
- package/dist/model/SocialAuthDomainGuidanceResponse.d.ts +1 -1
- package/dist/model/SocialAuthDomainGuidanceResponse.js +2 -2
- package/dist/model/SocialAuthLaunchResponse.d.ts +1 -1
- package/dist/model/SocialAuthLaunchResponse.js +2 -2
- package/dist/model/SocialAuthProviderStatus.d.ts +1 -1
- package/dist/model/SocialAuthProviderStatus.js +2 -2
- package/dist/model/SocialAuthStatusResponse.d.ts +1 -1
- package/dist/model/SocialAuthStatusResponse.js +2 -2
- package/dist/model/SocialAuthTenantConfigRequest.d.ts +1 -1
- package/dist/model/SocialAuthTenantConfigRequest.js +2 -2
- package/dist/model/SocialAuthTenantConfigResponse.d.ts +1 -1
- package/dist/model/SocialAuthTenantConfigResponse.js +2 -2
- package/dist/model/SocialGroupInput.d.ts +1 -1
- package/dist/model/SocialGroupInput.js +2 -2
- package/dist/model/SocialGroupResponse.d.ts +1 -1
- package/dist/model/SocialGroupResponse.js +2 -2
- package/dist/model/SocialGroupType.d.ts +1 -1
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/SocialGroupTypeInput.d.ts +1 -1
- package/dist/model/SocialGroupTypeInput.js +2 -2
- package/dist/model/Sofort.d.ts +1 -1
- package/dist/model/Sofort.js +2 -2
- package/dist/model/SortCode.d.ts +1 -1
- package/dist/model/SortCode.js +2 -2
- package/dist/model/SourceCandidate.d.ts +1 -1
- package/dist/model/SourceCandidate.js +2 -2
- package/dist/model/SourceTypes.d.ts +1 -1
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/Spei.d.ts +1 -1
- package/dist/model/Spei.js +2 -2
- package/dist/model/SqlSyncTenantConfigRequest.d.ts +1 -1
- package/dist/model/SqlSyncTenantConfigRequest.js +2 -2
- package/dist/model/SqlSyncTenantConfigResponse.d.ts +1 -1
- package/dist/model/SqlSyncTenantConfigResponse.js +2 -2
- package/dist/model/SqsSettings.d.ts +1 -1
- package/dist/model/SqsSettings.js +2 -2
- package/dist/model/Statement.d.ts +1 -1
- package/dist/model/Statement.js +2 -2
- package/dist/model/StatusDetails.d.ts +1 -1
- package/dist/model/StatusDetails.js +2 -2
- package/dist/model/StatusTransitions.d.ts +1 -1
- package/dist/model/StatusTransitions.js +2 -2
- package/dist/model/StepFunctionsSettings.d.ts +1 -1
- package/dist/model/StepFunctionsSettings.js +2 -2
- package/dist/model/Store.d.ts +1 -1
- package/dist/model/Store.js +2 -2
- package/dist/model/Stores.d.ts +1 -1
- package/dist/model/Stores.js +2 -2
- package/dist/model/StripeAccount.d.ts +1 -1
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCheckoutSession.d.ts +24 -24
- package/dist/model/StripeCheckoutSession.d.ts.map +1 -1
- package/dist/model/StripeCheckoutSession.js +62 -62
- package/dist/model/StripeCustomerAccount.d.ts +1 -1
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/StripeError.d.ts +1 -1
- package/dist/model/StripeError.js +2 -2
- package/dist/model/StripePaymentIntent.d.ts +13 -13
- package/dist/model/StripePaymentIntent.d.ts.map +1 -1
- package/dist/model/StripePaymentIntent.js +34 -34
- package/dist/model/StripePrice.d.ts +19 -19
- package/dist/model/StripePrice.d.ts.map +1 -1
- package/dist/model/StripePrice.js +56 -56
- package/dist/model/StripeSubscription.d.ts +41 -41
- package/dist/model/StripeSubscription.d.ts.map +1 -1
- package/dist/model/StripeSubscription.js +105 -105
- package/dist/model/StripeTenantConfigRequest.d.ts +1 -1
- package/dist/model/StripeTenantConfigRequest.js +2 -2
- package/dist/model/StripeTenantConfigResponse.d.ts +1 -1
- package/dist/model/StripeTenantConfigResponse.js +2 -2
- package/dist/model/Submit.d.ts +1 -1
- package/dist/model/Submit.js +2 -2
- package/dist/model/Subscription.d.ts +28 -28
- package/dist/model/Subscription.d.ts.map +1 -1
- package/dist/model/Subscription.js +87 -87
- package/dist/model/SubscriptionCollection.d.ts +1 -1
- package/dist/model/SubscriptionCollection.js +2 -2
- package/dist/model/SubscriptionData.d.ts +1 -1
- package/dist/model/SubscriptionData.js +2 -2
- package/dist/model/SubscriptionDetails.d.ts +1 -1
- package/dist/model/SubscriptionDetails.js +2 -2
- package/dist/model/SubscriptionInput.d.ts +1 -1
- package/dist/model/SubscriptionInput.js +2 -2
- package/dist/model/SubscriptionItem.d.ts +1 -1
- package/dist/model/SubscriptionItem.js +2 -2
- package/dist/model/SubscriptionItemCollection.d.ts +1 -1
- package/dist/model/SubscriptionItemCollection.js +2 -2
- package/dist/model/SubscriptionItemInput.d.ts +1 -1
- package/dist/model/SubscriptionItemInput.js +2 -2
- package/dist/model/SubscriptionResponse.d.ts +1 -1
- package/dist/model/SubscriptionResponse.js +2 -2
- package/dist/model/SubscriptionSchedule.d.ts +10 -10
- package/dist/model/SubscriptionSchedule.d.ts.map +1 -1
- package/dist/model/SubscriptionSchedule.js +32 -32
- package/dist/model/SupabaseConfigInput.d.ts +1 -1
- package/dist/model/SupabaseConfigInput.js +2 -2
- package/dist/model/SupabaseConfigResponse.d.ts +1 -1
- package/dist/model/SupabaseConfigResponse.js +2 -2
- package/dist/model/Swift.d.ts +1 -1
- package/dist/model/Swift.js +2 -2
- package/dist/model/SyncPortalStatusResponse.d.ts +1 -1
- package/dist/model/SyncPortalStatusResponse.js +2 -2
- package/dist/model/TabDeployInput.d.ts +1 -1
- package/dist/model/TabDeployInput.js +2 -2
- package/dist/model/TabItem.d.ts +1 -1
- package/dist/model/TabItem.js +2 -2
- package/dist/model/TabItemDefinitionInput.d.ts +1 -1
- package/dist/model/TabItemDefinitionInput.js +2 -2
- package/dist/model/TabItemDefinitionResponse.d.ts +1 -1
- package/dist/model/TabItemDefinitionResponse.js +2 -2
- package/dist/model/TabSetInput.d.ts +1 -1
- package/dist/model/TabSetInput.js +2 -2
- package/dist/model/TabSetResponse.d.ts +1 -1
- package/dist/model/TabSetResponse.js +2 -2
- package/dist/model/Tax.d.ts +1 -1
- package/dist/model/Tax.js +2 -2
- package/dist/model/TaxAmount.d.ts +1 -1
- package/dist/model/TaxAmount.js +2 -2
- package/dist/model/TaxCode.d.ts +1 -1
- package/dist/model/TaxCode.js +2 -2
- package/dist/model/TaxId.d.ts +1 -1
- package/dist/model/TaxId.js +2 -2
- package/dist/model/TaxIdCollection.d.ts +1 -1
- package/dist/model/TaxIdCollection.js +2 -2
- package/dist/model/TaxRate.d.ts +1 -1
- package/dist/model/TaxRate.js +2 -2
- package/dist/model/Template.d.ts +9 -9
- package/dist/model/Template.d.ts.map +1 -1
- package/dist/model/Template.js +24 -24
- package/dist/model/TemplateInput.d.ts +1 -1
- package/dist/model/TemplateInput.js +2 -2
- package/dist/model/TemplateResponse.d.ts +1 -1
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.d.ts +9 -9
- package/dist/model/TemplateSchema.d.ts.map +1 -1
- package/dist/model/TemplateSchema.js +24 -24
- package/dist/model/TermsOfServiceAcceptance.d.ts +1 -1
- package/dist/model/TermsOfServiceAcceptance.js +2 -2
- package/dist/model/TestClock.d.ts +1 -1
- package/dist/model/TestClock.js +2 -2
- package/dist/model/TestConnectionRequest.d.ts +1 -1
- package/dist/model/TestConnectionRequest.js +2 -2
- package/dist/model/TestConnectionResponse.d.ts +1 -1
- package/dist/model/TestConnectionResponse.js +2 -2
- package/dist/model/Text.d.ts +1 -1
- package/dist/model/Text.js +2 -2
- package/dist/model/TextSettingsInput.d.ts +1 -1
- package/dist/model/TextSettingsInput.js +2 -2
- package/dist/model/TextSettingsResponse.d.ts +1 -1
- package/dist/model/TextSettingsResponse.js +2 -2
- package/dist/model/ThemeMapping.d.ts +1 -1
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.d.ts +1 -1
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/ThreeDSecure.d.ts +1 -1
- package/dist/model/ThreeDSecure.js +2 -2
- package/dist/model/ThreeDSecureUsage.d.ts +1 -1
- package/dist/model/ThreeDSecureUsage.js +2 -2
- package/dist/model/ThresholdReason.d.ts +1 -1
- package/dist/model/ThresholdReason.js +2 -2
- package/dist/model/Tier.d.ts +1 -1
- package/dist/model/Tier.js +2 -2
- package/dist/model/TierInput.d.ts +1 -1
- package/dist/model/TierInput.js +2 -2
- package/dist/model/TierOutput.d.ts +1 -1
- package/dist/model/TierOutput.js +2 -2
- package/dist/model/Timezone.d.ts +1 -1
- package/dist/model/Timezone.js +2 -2
- package/dist/model/Timezone1.d.ts +1 -1
- package/dist/model/Timezone1.js +2 -2
- package/dist/model/Tip.d.ts +1 -1
- package/dist/model/Tip.js +2 -2
- package/dist/model/TopicInfoResponse.d.ts +1 -1
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.d.ts +1 -1
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/TosAcceptance.d.ts +1 -1
- package/dist/model/TosAcceptance.js +2 -2
- package/dist/model/TotalDetails.d.ts +1 -1
- package/dist/model/TotalDetails.js +2 -2
- package/dist/model/TotalDiscountAmount.d.ts +1 -1
- package/dist/model/TotalDiscountAmount.js +2 -2
- package/dist/model/TotalTaxAmount.d.ts +1 -1
- package/dist/model/TotalTaxAmount.js +2 -2
- package/dist/model/Transaction.d.ts +1 -1
- package/dist/model/Transaction.js +2 -2
- package/dist/model/TransactionOutput.d.ts +1 -1
- package/dist/model/TransactionOutput.js +2 -2
- package/dist/model/Transfer.d.ts +10 -10
- package/dist/model/Transfer.d.ts.map +1 -1
- package/dist/model/Transfer.js +32 -32
- package/dist/model/TransferData.d.ts +1 -1
- package/dist/model/TransferData.js +2 -2
- package/dist/model/TransferInput.d.ts +1 -1
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.d.ts +1 -1
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts +10 -10
- package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
- package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
- package/dist/model/TransferReversal.d.ts +19 -19
- package/dist/model/TransferReversal.d.ts.map +1 -1
- package/dist/model/TransferReversal.js +58 -58
- package/dist/model/TransferReversalCollection.d.ts +1 -1
- package/dist/model/TransferReversalCollection.js +2 -2
- package/dist/model/TransformQuantity.d.ts +1 -1
- package/dist/model/TransformQuantity.js +2 -2
- package/dist/model/TransformUsage.d.ts +1 -1
- package/dist/model/TransformUsage.js +2 -2
- package/dist/model/TraversalProjectionInput.d.ts +1 -1
- package/dist/model/TraversalProjectionInput.js +2 -2
- package/dist/model/TraversalRelationResponse.d.ts +1 -1
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/Treasury.d.ts +1 -1
- package/dist/model/Treasury.js +2 -2
- package/dist/model/TrialSettings.d.ts +1 -1
- package/dist/model/TrialSettings.js +2 -2
- package/dist/model/URLMappingInput.d.ts +1 -1
- package/dist/model/URLMappingInput.js +2 -2
- package/dist/model/URLMappingResponse.d.ts +1 -1
- package/dist/model/URLMappingResponse.js +2 -2
- package/dist/model/Upfront.d.ts +1 -1
- package/dist/model/Upfront.js +2 -2
- package/dist/model/UsBankAccount.d.ts +1 -1
- package/dist/model/UsBankAccount.js +2 -2
- package/dist/model/User.d.ts +10 -10
- package/dist/model/User.d.ts.map +1 -1
- package/dist/model/User.js +31 -31
- package/dist/model/UserDataPayload.d.ts +10 -10
- package/dist/model/UserDataPayload.d.ts.map +1 -1
- package/dist/model/UserDataPayload.js +31 -31
- package/dist/model/UserDomain.d.ts +1 -1
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.d.ts +19 -19
- package/dist/model/UserInvite.d.ts.map +1 -1
- package/dist/model/UserInvite.js +56 -56
- package/dist/model/UserInviteInput.d.ts +1 -1
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserPermissionPayload.d.ts +1 -1
- package/dist/model/UserPermissionPayload.js +2 -2
- package/dist/model/UserResponse.d.ts +1 -1
- package/dist/model/UserResponse.js +2 -2
- package/dist/model/UserSchema.d.ts +10 -10
- package/dist/model/UserSchema.d.ts.map +1 -1
- package/dist/model/UserSchema.js +31 -31
- package/dist/model/Userid.d.ts +1 -1
- package/dist/model/Userid.js +2 -2
- package/dist/model/UsernameReminderRequest.d.ts +1 -1
- package/dist/model/UsernameReminderRequest.js +2 -2
- package/dist/model/UsernameReminderResponse.d.ts +1 -1
- package/dist/model/UsernameReminderResponse.js +2 -2
- package/dist/model/Verification.d.ts +1 -1
- package/dist/model/Verification.js +2 -2
- package/dist/model/VerifyWithMicrodeposits.d.ts +1 -1
- package/dist/model/VerifyWithMicrodeposits.js +2 -2
- package/dist/model/Video.d.ts +1 -1
- package/dist/model/Video.js +2 -2
- package/dist/model/ViewInput.d.ts +1 -1
- package/dist/model/ViewInput.js +2 -2
- package/dist/model/ViewResponse.d.ts +1 -1
- package/dist/model/ViewResponse.js +2 -2
- package/dist/model/VisaCheckout.d.ts +1 -1
- package/dist/model/VisaCheckout.js +2 -2
- package/dist/model/Wallet.d.ts +1 -1
- package/dist/model/Wallet.js +2 -2
- package/dist/model/WalletHoldInput.d.ts +1 -1
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.d.ts +1 -1
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.d.ts +1 -1
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.d.ts +1 -1
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.d.ts +1 -1
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/Wechat.d.ts +1 -1
- package/dist/model/Wechat.js +2 -2
- package/dist/model/WechatPay.d.ts +1 -1
- package/dist/model/WechatPay.js +2 -2
- package/dist/model/WechatPayDisplayQrCode.d.ts +1 -1
- package/dist/model/WechatPayDisplayQrCode.js +2 -2
- package/dist/model/WechatPayRedirectToAndroidApp.d.ts +1 -1
- package/dist/model/WechatPayRedirectToAndroidApp.js +2 -2
- package/dist/model/WechatPayRedirectToIosApp.d.ts +1 -1
- package/dist/model/WechatPayRedirectToIosApp.js +2 -2
- package/dist/model/WidgetDeployInput.d.ts +1 -1
- package/dist/model/WidgetDeployInput.js +2 -2
- package/dist/model/WidgetDeployMoveInput.d.ts +1 -1
- package/dist/model/WidgetDeployMoveInput.js +2 -2
- package/dist/model/WidgetDeployResponse.d.ts +1 -1
- package/dist/model/WidgetDeployResponse.js +2 -2
- package/dist/model/WidgetDeployUpdateInput.d.ts +1 -1
- package/dist/model/WidgetDeployUpdateInput.js +2 -2
- package/dist/model/WidgetInput.d.ts +1 -1
- package/dist/model/WidgetInput.js +2 -2
- package/dist/model/WidgetResponse.d.ts +1 -1
- package/dist/model/WidgetResponse.js +2 -2
- package/dist/model/WidgetScreenInput.d.ts +1 -1
- package/dist/model/WidgetScreenInput.js +2 -2
- package/dist/model/WysiwygSettingsInput.d.ts +1 -1
- package/dist/model/WysiwygSettingsInput.js +2 -2
- package/dist/model/WysiwygSettingsResponse.d.ts +1 -1
- package/dist/model/WysiwygSettingsResponse.js +2 -2
- package/dist/model/Zengin.d.ts +1 -1
- package/dist/model/Zengin.js +2 -2
- package/dist/model/ZeusPortalCategory.d.ts +19 -19
- package/dist/model/ZeusPortalCategory.d.ts.map +1 -1
- package/dist/model/ZeusPortalCategory.js +48 -48
- package/dist/model/Zip.d.ts +1 -1
- package/dist/model/Zip.js +2 -2
- package/dist/src/api/AIApi.d.ts +6 -6
- package/dist/src/api/AIConversationsApi.d.ts +10 -10
- package/dist/src/api/AbilitiesApi.d.ts +3 -3
- package/dist/src/api/ActionTypesApi.d.ts +1 -1
- package/dist/src/api/AdCampaignsApi.d.ts +7 -7
- package/dist/src/api/AdManagementApi.d.ts +12 -12
- package/dist/src/api/AdminDataManagementApi.d.ts +1 -1
- package/dist/src/api/AdsApi.d.ts +5 -5
- package/dist/src/api/AttachmentsApi.d.ts +6 -6
- package/dist/src/api/AuthenticationApi.d.ts +11 -11
- package/dist/src/api/BatchApi.d.ts +7 -7
- package/dist/src/api/CategoriesApi.d.ts +7 -7
- package/dist/src/api/CircleAccountsApi.d.ts +10 -10
- package/dist/src/api/CommentsApi.d.ts +9 -9
- package/dist/src/api/ContentManagementApi.d.ts +28 -28
- package/dist/src/api/ConversationsApi.d.ts +8 -8
- package/dist/src/api/CurrencyApi.d.ts +7 -7
- package/dist/src/api/DataSheetImportsApi.d.ts +15 -15
- package/dist/src/api/DataSyncApi.d.ts +9 -9
- package/dist/src/api/DefaultApi.d.ts +12 -12
- package/dist/src/api/DocumentPartTypesApi.d.ts +2 -2
- package/dist/src/api/DocumentTypesApi.d.ts +2 -2
- package/dist/src/api/DocumentsApi.d.ts +14 -14
- package/dist/src/api/DynamoDBSyncApi.d.ts +1 -1
- package/dist/src/api/EmailApi.d.ts +1 -1
- package/dist/src/api/EmailsApi.d.ts +4 -4
- package/dist/src/api/EntryPartsApi.d.ts +12 -12
- package/dist/src/api/FacebookApi.d.ts +1 -1
- package/dist/src/api/FieldsApi.d.ts +8 -8
- package/dist/src/api/FilesApi.d.ts +6 -6
- package/dist/src/api/FormsApi.d.ts +14 -14
- package/dist/src/api/FunctionsApi.d.ts +25 -25
- package/dist/src/api/GeocodeApi.d.ts +3 -3
- package/dist/src/api/GobodoManagementApi.d.ts +17 -17
- package/dist/src/api/GoogleApi.d.ts +1 -1
- package/dist/src/api/GraphActionTypesApi.d.ts +18 -18
- package/dist/src/api/GraphActionsApi.d.ts +11 -11
- package/dist/src/api/GraphObjectPermissionsApi.d.ts +10 -10
- package/dist/src/api/GraphObjectTypesApi.d.ts +33 -33
- package/dist/src/api/GraphObjectsApi.d.ts +45 -45
- package/dist/src/api/GraphRelationshipTypesApi.d.ts +26 -26
- package/dist/src/api/GraphRelationshipsApi.d.ts +21 -21
- package/dist/src/api/GraphSchemasApi.d.ts +20 -20
- package/dist/src/api/GraphTraversalApi.d.ts +7 -7
- package/dist/src/api/GraphsApi.d.ts +27 -27
- package/dist/src/api/IAMApi.d.ts +4 -4
- package/dist/src/api/ImagesApi.d.ts +6 -6
- package/dist/src/api/InvitesApi.d.ts +5 -5
- package/dist/src/api/LaunchTemplatesApi.d.ts +16 -16
- package/dist/src/api/LikesApi.d.ts +13 -13
- package/dist/src/api/LinkedINApi.d.ts +1 -1
- package/dist/src/api/LinksApi.d.ts +9 -9
- package/dist/src/api/LiveMeetingsApi.d.ts +2 -2
- package/dist/src/api/MeetingEventsApi.d.ts +24 -24
- package/dist/src/api/MenuItemsApi.d.ts +6 -6
- package/dist/src/api/MenusApi.d.ts +6 -6
- package/dist/src/api/NotificationsApi.d.ts +14 -14
- package/dist/src/api/PageLayoutsApi.d.ts +6 -6
- package/dist/src/api/PagesApi.d.ts +18 -18
- package/dist/src/api/PasswordResetApi.d.ts +1 -1
- package/dist/src/api/PayPalAccountsApi.d.ts +3 -3
- package/dist/src/api/PhoneNumbersApi.d.ts +5 -5
- package/dist/src/api/PostsApi.d.ts +9 -9
- package/dist/src/api/PrivateMessagesApi.d.ts +15 -15
- package/dist/src/api/ProxyServersApi.d.ts +14 -14
- package/dist/src/api/PublicationsApi.d.ts +9 -9
- package/dist/src/api/RestApplicationsApi.d.ts +8 -8
- package/dist/src/api/SchemaViewsApi.d.ts +5 -5
- package/dist/src/api/ScreensApi.d.ts +2 -2
- package/dist/src/api/SearchApi.d.ts +6 -6
- package/dist/src/api/SitesApi.d.ts +15 -15
- package/dist/src/api/SocialGroupsApi.d.ts +20 -20
- package/dist/src/api/SocialIntegrationApi.d.ts +4 -4
- package/dist/src/api/SquareAccountsApi.d.ts +3 -3
- package/dist/src/api/StripeAccountsApi.d.ts +92 -92
- package/dist/src/api/TabDefinitionsApi.d.ts +4 -4
- package/dist/src/api/TabSetsApi.d.ts +7 -7
- package/dist/src/api/TagsApi.d.ts +1 -1
- package/dist/src/api/TemplatesApi.d.ts +9 -9
- package/dist/src/api/ThemeMappingsApi.d.ts +8 -8
- package/dist/src/api/TopicsApi.d.ts +8 -8
- package/dist/src/api/TwitterApi.d.ts +1 -1
- package/dist/src/api/URLMappingsApi.d.ts +8 -8
- package/dist/src/api/UserManagerAdministrationApi.d.ts +27 -27
- package/dist/src/api/UserTagsApi.d.ts +3 -3
- package/dist/src/api/UsersApi.d.ts +13 -13
- package/dist/src/api/VideosApi.d.ts +10 -10
- package/dist/src/api/ViewsApi.d.ts +5 -5
- package/dist/src/api/WalletsApi.d.ts +17 -17
- package/dist/src/api/WidgetsApi.d.ts +12 -12
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _ApiClient=_interopRequireDefault(require("../ApiClient"));var _AccountSessionInput=_interopRequireDefault(require("../model/AccountSessionInput"));var _AccountSessionResponse=_interopRequireDefault(require("../model/AccountSessionResponse"));var _ApplicationPaymentAccountResponse=_interopRequireDefault(require("../model/ApplicationPaymentAccountResponse"));var _BalanceResponse=_interopRequireDefault(require("../model/BalanceResponse"));var _CheckoutSessionInput=_interopRequireDefault(require("../model/CheckoutSessionInput"));var _CheckoutSessionResponse=_interopRequireDefault(require("../model/CheckoutSessionResponse"));var _CreateAccountResponse=_interopRequireDefault(require("../model/CreateAccountResponse"));var _CreateOrphanStripeCustomerInput=_interopRequireDefault(require("../model/CreateOrphanStripeCustomerInput"));var _CreateStripeAccountInput=_interopRequireDefault(require("../model/CreateStripeAccountInput"));var _CreateStripeCustomerInput=_interopRequireDefault(require("../model/CreateStripeCustomerInput"));var _CustomerResponse=_interopRequireDefault(require("../model/CustomerResponse"));var _Invoice=_interopRequireDefault(require("../model/Invoice"));var _InvoiceFromPricebookInput=_interopRequireDefault(require("../model/InvoiceFromPricebookInput"));var _InvoiceInput=_interopRequireDefault(require("../model/InvoiceInput"));var _InvoiceLineItemInput=_interopRequireDefault(require("../model/InvoiceLineItemInput"));var _InvoiceResponse=_interopRequireDefault(require("../model/InvoiceResponse"));var _PaymentIntentInput=_interopRequireDefault(require("../model/PaymentIntentInput"));var _PaymentIntentResponse=_interopRequireDefault(require("../model/PaymentIntentResponse"));var _PaymentMethodInput=_interopRequireDefault(require("../model/PaymentMethodInput"));var _PaymentMethodResponse=_interopRequireDefault(require("../model/PaymentMethodResponse"));var _PaymentMethodsResponse=_interopRequireDefault(require("../model/PaymentMethodsResponse"));var _PayoutInput=_interopRequireDefault(require("../model/PayoutInput"));var _PayoutResponse=_interopRequireDefault(require("../model/PayoutResponse"));var _PriceInput=_interopRequireDefault(require("../model/PriceInput"));var _PriceOutput=_interopRequireDefault(require("../model/PriceOutput"));var _PriceResponse=_interopRequireDefault(require("../model/PriceResponse"));var _Pricebook=_interopRequireDefault(require("../model/Pricebook"));var _PricebookInput=_interopRequireDefault(require("../model/PricebookInput"));var _PricebookResponse=_interopRequireDefault(require("../model/PricebookResponse"));var _ProductCategoryInput=_interopRequireDefault(require("../model/ProductCategoryInput"));var _ProductCategoryOutput=_interopRequireDefault(require("../model/ProductCategoryOutput"));var _ProductCategoryResponse=_interopRequireDefault(require("../model/ProductCategoryResponse"));var _ProductInput=_interopRequireDefault(require("../model/ProductInput"));var _ProductOutput=_interopRequireDefault(require("../model/ProductOutput"));var _ProductResponse=_interopRequireDefault(require("../model/ProductResponse"));var _PurgeDataDefaultResponse=_interopRequireDefault(require("../model/PurgeDataDefaultResponse"));var _StripeCheckoutSession=_interopRequireDefault(require("../model/StripeCheckoutSession"));var _StripePaymentIntent=_interopRequireDefault(require("../model/StripePaymentIntent"));var _StripePrice=_interopRequireDefault(require("../model/StripePrice"));var _StripeSubscription=_interopRequireDefault(require("../model/StripeSubscription"));var _StripeTenantConfigRequest=_interopRequireDefault(require("../model/StripeTenantConfigRequest"));var _StripeTenantConfigResponse=_interopRequireDefault(require("../model/StripeTenantConfigResponse"));var _SubscriptionInput=_interopRequireDefault(require("../model/SubscriptionInput"));var _SubscriptionResponse=_interopRequireDefault(require("../model/SubscriptionResponse"));var _TransactionOutput=_interopRequireDefault(require("../model/TransactionOutput"));var _TransferInput=_interopRequireDefault(require("../model/TransferInput"));var _TransferResponse=_interopRequireDefault(require("../model/TransferResponse"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj};}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:String(i);}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _ApiClient=_interopRequireDefault(require("../ApiClient"));var _AccountSessionInput=_interopRequireDefault(require("../model/AccountSessionInput"));var _AccountSessionResponse=_interopRequireDefault(require("../model/AccountSessionResponse"));var _ApplicationPaymentAccountResponse=_interopRequireDefault(require("../model/ApplicationPaymentAccountResponse"));var _BalanceResponse=_interopRequireDefault(require("../model/BalanceResponse"));var _CacheInvalidation=_interopRequireDefault(require("../model/CacheInvalidation"));var _CheckoutSessionInput=_interopRequireDefault(require("../model/CheckoutSessionInput"));var _CheckoutSessionResponse=_interopRequireDefault(require("../model/CheckoutSessionResponse"));var _CreateAccountResponse=_interopRequireDefault(require("../model/CreateAccountResponse"));var _CreateOrphanStripeCustomerInput=_interopRequireDefault(require("../model/CreateOrphanStripeCustomerInput"));var _CreateStripeAccountInput=_interopRequireDefault(require("../model/CreateStripeAccountInput"));var _CreateStripeCustomerInput=_interopRequireDefault(require("../model/CreateStripeCustomerInput"));var _CustomerResponse=_interopRequireDefault(require("../model/CustomerResponse"));var _Invoice=_interopRequireDefault(require("../model/Invoice"));var _InvoiceFromPricebookInput=_interopRequireDefault(require("../model/InvoiceFromPricebookInput"));var _InvoiceInput=_interopRequireDefault(require("../model/InvoiceInput"));var _InvoiceLineItemInput=_interopRequireDefault(require("../model/InvoiceLineItemInput"));var _InvoiceResponse=_interopRequireDefault(require("../model/InvoiceResponse"));var _PaymentIntentInput=_interopRequireDefault(require("../model/PaymentIntentInput"));var _PaymentIntentResponse=_interopRequireDefault(require("../model/PaymentIntentResponse"));var _PaymentMethodInput=_interopRequireDefault(require("../model/PaymentMethodInput"));var _PaymentMethodResponse=_interopRequireDefault(require("../model/PaymentMethodResponse"));var _PaymentMethodsResponse=_interopRequireDefault(require("../model/PaymentMethodsResponse"));var _PayoutInput=_interopRequireDefault(require("../model/PayoutInput"));var _PayoutResponse=_interopRequireDefault(require("../model/PayoutResponse"));var _PriceInput=_interopRequireDefault(require("../model/PriceInput"));var _PriceOutput=_interopRequireDefault(require("../model/PriceOutput"));var _PriceResponse=_interopRequireDefault(require("../model/PriceResponse"));var _Pricebook=_interopRequireDefault(require("../model/Pricebook"));var _PricebookInput=_interopRequireDefault(require("../model/PricebookInput"));var _PricebookResponse=_interopRequireDefault(require("../model/PricebookResponse"));var _ProductCategoryInput=_interopRequireDefault(require("../model/ProductCategoryInput"));var _ProductCategoryOutput=_interopRequireDefault(require("../model/ProductCategoryOutput"));var _ProductCategoryResponse=_interopRequireDefault(require("../model/ProductCategoryResponse"));var _ProductInput=_interopRequireDefault(require("../model/ProductInput"));var _ProductOutput=_interopRequireDefault(require("../model/ProductOutput"));var _ProductResponse=_interopRequireDefault(require("../model/ProductResponse"));var _PurgeDataDefaultResponse=_interopRequireDefault(require("../model/PurgeDataDefaultResponse"));var _StripeCheckoutSession=_interopRequireDefault(require("../model/StripeCheckoutSession"));var _StripePaymentIntent=_interopRequireDefault(require("../model/StripePaymentIntent"));var _StripePrice=_interopRequireDefault(require("../model/StripePrice"));var _StripeSubscription=_interopRequireDefault(require("../model/StripeSubscription"));var _StripeTenantConfigRequest=_interopRequireDefault(require("../model/StripeTenantConfigRequest"));var _StripeTenantConfigResponse=_interopRequireDefault(require("../model/StripeTenantConfigResponse"));var _SubscriptionInput=_interopRequireDefault(require("../model/SubscriptionInput"));var _SubscriptionResponse=_interopRequireDefault(require("../model/SubscriptionResponse"));var _TransactionOutput=_interopRequireDefault(require("../model/TransactionOutput"));var _TransferInput=_interopRequireDefault(require("../model/TransferInput"));var _TransferResponse=_interopRequireDefault(require("../model/TransferResponse"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj};}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:String(i);}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
2
2
|
* gobodo-api
|
|
3
3
|
* REST Interface for Gobodo API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.
|
|
5
|
+
* The version of the OpenAPI document: 0.1.227
|
|
6
6
|
* Contact: info@gobodo.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/ /**
|
|
13
13
|
* StripeAccounts service.
|
|
14
14
|
* @module api/StripeAccountsApi
|
|
15
|
-
* @version 0.1.
|
|
15
|
+
* @version 0.1.227
|
|
16
16
|
*/var StripeAccountsApi=exports["default"]=/*#__PURE__*/function(){/**
|
|
17
17
|
* Constructs a new StripeAccountsApi.
|
|
18
18
|
* @alias module:api/StripeAccountsApi
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
32
32
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
33
33
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
34
|
-
* @param {
|
|
34
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
35
35
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
36
36
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
37
37
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
41
41
|
*/_createClass(StripeAccountsApi,[{key:"addStripeInvoiceLineItemWithHttpInfo",value:function addStripeInvoiceLineItemWithHttpInfo(invoiceId,invoiceLineItemInput,opts){opts=opts||{};var postBody=invoiceLineItemInput;// verify the required parameter 'invoiceId' is set
|
|
42
42
|
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling addStripeInvoiceLineItem");}// verify the required parameter 'invoiceLineItemInput' is set
|
|
43
|
-
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling addStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
43
|
+
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling addStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
44
44
|
* Adds a line item to a draft invoice
|
|
45
45
|
* Adds a line item (price + quantity) to a draft invoice. Only draft invoices can be edited.
|
|
46
46
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -52,7 +52,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
52
52
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
53
53
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
54
54
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
55
|
-
* @param {
|
|
55
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
56
56
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
57
57
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
58
58
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -69,7 +69,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
69
69
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
70
70
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
71
71
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
72
|
-
* @param {
|
|
72
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
73
73
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
74
74
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
75
75
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -77,7 +77,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
77
77
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
78
78
|
* @param {module:model/PaymentMethodInput} [paymentMethodInput]
|
|
79
79
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
80
|
-
*/},{key:"addStripePaymentMethodWithHttpInfo",value:function addStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=opts['paymentMethodInput'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
80
|
+
*/},{key:"addStripePaymentMethodWithHttpInfo",value:function addStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=opts['paymentMethodInput'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
81
81
|
* Adds payment methods for the customer stored in stripe
|
|
82
82
|
* Retrieves the payment methods for the customer stored in stripe
|
|
83
83
|
* @param {Object} opts Optional parameters
|
|
@@ -87,7 +87,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
87
87
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
88
88
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
89
89
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
90
|
-
* @param {
|
|
90
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
91
91
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
92
92
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
93
93
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -107,7 +107,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
107
107
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
108
108
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
109
109
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
110
|
-
* @param {
|
|
110
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
111
111
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
112
112
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
113
113
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -116,7 +116,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
116
116
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
117
117
|
*/},{key:"attachCustomerStripePaymentMethodWithHttpInfo",value:function attachCustomerStripePaymentMethodWithHttpInfo(customerID,body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'customerID' is set
|
|
118
118
|
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling attachCustomerStripePaymentMethod");}// verify the required parameter 'body' is set
|
|
119
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
119
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
120
120
|
* Adds payment methods for the customer stored in stripe
|
|
121
121
|
* Retrieves the payment methods for the customer stored in stripe
|
|
122
122
|
* @param {Number} customerID The id of the customer
|
|
@@ -128,7 +128,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
128
128
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
129
129
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
130
130
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
131
|
-
* @param {
|
|
131
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
132
132
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
133
133
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
134
134
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -146,7 +146,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
146
146
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
147
147
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
148
148
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
149
|
-
* @param {
|
|
149
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
150
150
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
151
151
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
152
152
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -154,7 +154,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
154
154
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
155
155
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
156
156
|
*/},{key:"attachStripePaymentMethodWithHttpInfo",value:function attachStripePaymentMethodWithHttpInfo(body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'body' is set
|
|
157
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
157
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling attachStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
158
158
|
* Adds payment methods for the customer stored in stripe
|
|
159
159
|
* Retrieves the payment methods for the customer stored in stripe
|
|
160
160
|
* @param {String} body The payment method id
|
|
@@ -165,7 +165,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
165
165
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
166
166
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
167
167
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
168
|
-
* @param {
|
|
168
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
169
169
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
170
170
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
171
171
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -183,7 +183,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
183
183
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
184
184
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
185
185
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
186
|
-
* @param {
|
|
186
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
187
187
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
188
188
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
189
189
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -191,7 +191,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
191
191
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
192
192
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
193
193
|
*/},{key:"cancelStripeSubscriptionWithHttpInfo",value:function cancelStripeSubscriptionWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
194
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
194
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
195
195
|
* Cancels a subscription immediately
|
|
196
196
|
* Immediately cancels a subscription
|
|
197
197
|
* @param {String} subscriptionId The subscription ID
|
|
@@ -202,7 +202,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
202
202
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
203
203
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
204
204
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
205
|
-
* @param {
|
|
205
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
206
206
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
207
207
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
208
208
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -220,7 +220,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
220
220
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
221
221
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
222
222
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
223
|
-
* @param {
|
|
223
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
224
224
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
225
225
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
226
226
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -228,7 +228,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
228
228
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
229
229
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
230
230
|
*/},{key:"cancelStripeSubscriptionAtPeriodEndWithHttpInfo",value:function cancelStripeSubscriptionAtPeriodEndWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
231
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/cancel-at-period-end','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
231
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/cancel-at-period-end','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
232
232
|
* Cancels subscription at period end
|
|
233
233
|
* Schedules a subscription to cancel at the end of the current billing period
|
|
234
234
|
* @param {String} subscriptionId The subscription ID
|
|
@@ -239,7 +239,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
239
239
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
240
240
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
241
241
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
242
|
-
* @param {
|
|
242
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
243
243
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
244
244
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
245
245
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -257,7 +257,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
257
257
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
258
258
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
259
259
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
260
|
-
* @param {
|
|
260
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
261
261
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
262
262
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
263
263
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -265,7 +265,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
265
265
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
266
266
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AccountSessionResponse} and HTTP response
|
|
267
267
|
*/},{key:"createAccountSessionWithHttpInfo",value:function createAccountSessionWithHttpInfo(accountSessionInput,opts){opts=opts||{};var postBody=accountSessionInput;// verify the required parameter 'accountSessionInput' is set
|
|
268
|
-
if(accountSessionInput===undefined||accountSessionInput===null){throw new Error("Missing the required parameter 'accountSessionInput' when calling createAccountSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_AccountSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/accountSession','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
268
|
+
if(accountSessionInput===undefined||accountSessionInput===null){throw new Error("Missing the required parameter 'accountSessionInput' when calling createAccountSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_AccountSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/accountSession','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
269
269
|
* Creates an Account Session which is used to integrate Stripe's connected UI components
|
|
270
270
|
* Creates an Account Session which is used to integrate Stripe's connected UI components
|
|
271
271
|
* @param {module:model/AccountSessionInput} accountSessionInput Contains the info to create the Account Session
|
|
@@ -276,7 +276,7 @@ if(accountSessionInput===undefined||accountSessionInput===null){throw new Error(
|
|
|
276
276
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
277
277
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
278
278
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
279
|
-
* @param {
|
|
279
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
280
280
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
281
281
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
282
282
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -294,7 +294,7 @@ if(accountSessionInput===undefined||accountSessionInput===null){throw new Error(
|
|
|
294
294
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
295
295
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
296
296
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
297
|
-
* @param {
|
|
297
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
298
298
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
299
299
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
300
300
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -302,7 +302,7 @@ if(accountSessionInput===undefined||accountSessionInput===null){throw new Error(
|
|
|
302
302
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
303
303
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
304
304
|
*/},{key:"createAndLinkStripeAccountWithHttpInfo",value:function createAndLinkStripeAccountWithHttpInfo(createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'createStripeAccountInput' is set
|
|
305
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createAndLinkStripeAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
305
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createAndLinkStripeAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
306
306
|
* Creates a Stripe account for the logged in user
|
|
307
307
|
* Creates a Stripe Account
|
|
308
308
|
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
@@ -313,7 +313,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
313
313
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
314
314
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
315
315
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
316
|
-
* @param {
|
|
316
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
317
317
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
318
318
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
319
319
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -331,7 +331,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
331
331
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
332
332
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
333
333
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
334
|
-
* @param {
|
|
334
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
335
335
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
336
336
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
337
337
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -339,7 +339,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
339
339
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
340
340
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
341
341
|
*/},{key:"createAndLinkStripeCustomerAccountWithHttpInfo",value:function createAndLinkStripeCustomerAccountWithHttpInfo(createStripeCustomerInput,opts){opts=opts||{};var postBody=createStripeCustomerInput;// verify the required parameter 'createStripeCustomerInput' is set
|
|
342
|
-
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling createAndLinkStripeCustomerAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
342
|
+
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling createAndLinkStripeCustomerAccount");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
343
343
|
* Creates a Stripe customer account for the logged in user
|
|
344
344
|
* Creates a Stripe Customer Account
|
|
345
345
|
* @param {module:model/CreateStripeCustomerInput} createStripeCustomerInput Contains the info to create the Stripe Account
|
|
@@ -350,7 +350,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
350
350
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
351
351
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
352
352
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
353
|
-
* @param {
|
|
353
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
354
354
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
355
355
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
356
356
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -369,7 +369,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
369
369
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
370
370
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
371
371
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
372
|
-
* @param {
|
|
372
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
373
373
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
374
374
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
375
375
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -378,7 +378,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
378
378
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
379
379
|
*/},{key:"createApplicationStripePaymentAccountWithHttpInfo",value:function createApplicationStripePaymentAccountWithHttpInfo(applicationid,createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'applicationid' is set
|
|
380
380
|
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling createApplicationStripePaymentAccount");}// verify the required parameter 'createStripeAccountInput' is set
|
|
381
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
381
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
382
382
|
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
383
383
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
384
384
|
* @param {Number} applicationid
|
|
@@ -390,7 +390,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
390
390
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
391
391
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
392
392
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
393
|
-
* @param {
|
|
393
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
394
394
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
395
395
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
396
396
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -408,7 +408,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
408
408
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
409
409
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
410
410
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
411
|
-
* @param {
|
|
411
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
412
412
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
413
413
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
414
414
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -416,7 +416,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
416
416
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
417
417
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
418
418
|
*/},{key:"createOrphanStripeCustomerWithHttpInfo",value:function createOrphanStripeCustomerWithHttpInfo(createOrphanStripeCustomerInput,opts){opts=opts||{};var postBody=createOrphanStripeCustomerInput;// verify the required parameter 'createOrphanStripeCustomerInput' is set
|
|
419
|
-
if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput===null){throw new Error("Missing the required parameter 'createOrphanStripeCustomerInput' when calling createOrphanStripeCustomer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/orphan','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
419
|
+
if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput===null){throw new Error("Missing the required parameter 'createOrphanStripeCustomerInput' when calling createOrphanStripeCustomer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/orphan','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
420
420
|
* Creates an orphan Stripe customer (admin-only)
|
|
421
421
|
* Creates a Stripe customer not linked to any user, for use with create-invoice/list-invoices by graph customer ID
|
|
422
422
|
* @param {module:model/CreateOrphanStripeCustomerInput} createOrphanStripeCustomerInput Orphan customer input: name (required), optional email, optional metadata
|
|
@@ -427,7 +427,7 @@ if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput=
|
|
|
427
427
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
428
428
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
429
429
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
430
|
-
* @param {
|
|
430
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
431
431
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
432
432
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
433
433
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -446,7 +446,7 @@ if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput=
|
|
|
446
446
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
447
447
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
448
448
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
449
|
-
* @param {
|
|
449
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
450
450
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
451
451
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
452
452
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -455,7 +455,7 @@ if(createOrphanStripeCustomerInput===undefined||createOrphanStripeCustomerInput=
|
|
|
455
455
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
456
456
|
*/},{key:"createSiteStripePaymentAccountWithHttpInfo",value:function createSiteStripePaymentAccountWithHttpInfo(siteid,createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'siteid' is set
|
|
457
457
|
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");}// verify the required parameter 'createStripeAccountInput' is set
|
|
458
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
458
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
459
459
|
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
460
460
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
461
461
|
* @param {Number} siteid
|
|
@@ -467,7 +467,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
467
467
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
468
468
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
469
469
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
470
|
-
* @param {
|
|
470
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
471
471
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
472
472
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
473
473
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -485,7 +485,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
485
485
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
486
486
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
487
487
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
488
|
-
* @param {
|
|
488
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
489
489
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
490
490
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
491
491
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -493,7 +493,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
493
493
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
494
494
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CheckoutSessionResponse} and HTTP response
|
|
495
495
|
*/},{key:"createStripeCheckoutSessionWithHttpInfo",value:function createStripeCheckoutSessionWithHttpInfo(checkoutSessionInput,opts){opts=opts||{};var postBody=checkoutSessionInput;// verify the required parameter 'checkoutSessionInput' is set
|
|
496
|
-
if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CheckoutSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/checkout/session','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
496
|
+
if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CheckoutSessionResponse["default"];return this.apiClient.callApi('/payments/stripe/checkout/session','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
497
497
|
* Creates a Stripe Checkout Session for hosted payment page
|
|
498
498
|
* Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page. If invoiceId is provided, the session is created for that invoice (line items and customer from the invoice); successUrl and cancelUrl are required in that case, and mode, lineItems, and currency are ignored.
|
|
499
499
|
* @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session. When invoiceId is set, only invoiceId, successUrl, and cancelUrl are required; other fields are optional or ignored.
|
|
@@ -504,7 +504,7 @@ if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Erro
|
|
|
504
504
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
505
505
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
506
506
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
507
|
-
* @param {
|
|
507
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
508
508
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
509
509
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
510
510
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -522,7 +522,7 @@ if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Erro
|
|
|
522
522
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
523
523
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
524
524
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
525
|
-
* @param {
|
|
525
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
526
526
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
527
527
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
528
528
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -530,7 +530,7 @@ if(checkoutSessionInput===undefined||checkoutSessionInput===null){throw new Erro
|
|
|
530
530
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
531
531
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
532
532
|
*/},{key:"createStripeInvoiceWithHttpInfo",value:function createStripeInvoiceWithHttpInfo(invoiceInput,opts){opts=opts||{};var postBody=invoiceInput;// verify the required parameter 'invoiceInput' is set
|
|
533
|
-
if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the required parameter 'invoiceInput' when calling createStripeInvoice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
533
|
+
if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the required parameter 'invoiceInput' when calling createStripeInvoice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
534
534
|
* Creates a Stripe invoice
|
|
535
535
|
* Creates an invoice for a customer with line items (products/prices), optionally finalizes and sends it
|
|
536
536
|
* @param {module:model/InvoiceInput} invoiceInput Invoice input: customerId (graph id), lineItems (priceId + quantity), optional collectionMethod, daysUntilDue, autoFinalize, sendAfterFinalize
|
|
@@ -541,7 +541,7 @@ if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the r
|
|
|
541
541
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
542
542
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
543
543
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
544
|
-
* @param {
|
|
544
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
545
545
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
546
546
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
547
547
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -559,7 +559,7 @@ if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the r
|
|
|
559
559
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
560
560
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
561
561
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
562
|
-
* @param {
|
|
562
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
563
563
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
564
564
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
565
565
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -567,7 +567,7 @@ if(invoiceInput===undefined||invoiceInput===null){throw new Error("Missing the r
|
|
|
567
567
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
568
568
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
569
569
|
*/},{key:"createStripeInvoiceFromPricebookWithHttpInfo",value:function createStripeInvoiceFromPricebookWithHttpInfo(invoiceFromPricebookInput,opts){opts=opts||{};var postBody=invoiceFromPricebookInput;// verify the required parameter 'invoiceFromPricebookInput' is set
|
|
570
|
-
if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){throw new Error("Missing the required parameter 'invoiceFromPricebookInput' when calling createStripeInvoiceFromPricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/from-pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
570
|
+
if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){throw new Error("Missing the required parameter 'invoiceFromPricebookInput' when calling createStripeInvoiceFromPricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/from-pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
571
571
|
* Creates a draft invoice from a pricebook
|
|
572
572
|
* Creates a draft Stripe invoice from a pricebook. If lineItems is null or empty, uses entire pricebook (all prices, quantity 1 each). Returns draft invoice for editing before finalize/send.
|
|
573
573
|
* @param {module:model/InvoiceFromPricebookInput} invoiceFromPricebookInput InvoiceFromPricebookInput: customerId or stripeCustomerId, pricebookIdOrKey (required), optional lineItems (subset). When lineItems empty, entire pricebook used.
|
|
@@ -578,7 +578,7 @@ if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){thro
|
|
|
578
578
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
579
579
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
580
580
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
581
|
-
* @param {
|
|
581
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
582
582
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
583
583
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
584
584
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -596,7 +596,7 @@ if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){thro
|
|
|
596
596
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
597
597
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
598
598
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
599
|
-
* @param {
|
|
599
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
600
600
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
601
601
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
602
602
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -604,7 +604,7 @@ if(invoiceFromPricebookInput===undefined||invoiceFromPricebookInput===null){thro
|
|
|
604
604
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
605
605
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentIntentResponse} and HTTP response
|
|
606
606
|
*/},{key:"createStripePaymentIntentWithHttpInfo",value:function createStripePaymentIntentWithHttpInfo(paymentIntentInput,opts){opts=opts||{};var postBody=paymentIntentInput;// verify the required parameter 'paymentIntentInput' is set
|
|
607
|
-
if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("Missing the required parameter 'paymentIntentInput' when calling createStripePaymentIntent");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentIntentResponse["default"];return this.apiClient.callApi('/payments/stripe/payment','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
607
|
+
if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("Missing the required parameter 'paymentIntentInput' when calling createStripePaymentIntent");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentIntentResponse["default"];return this.apiClient.callApi('/payments/stripe/payment','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
608
608
|
* Creates a Payment Intent to initate a Stripe payment
|
|
609
609
|
* Creates a Payment Intent to initate a Stripe payment
|
|
610
610
|
* @param {module:model/PaymentIntentInput} paymentIntentInput Contains the info to create the Stripe Payment Intent
|
|
@@ -615,7 +615,7 @@ if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("M
|
|
|
615
615
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
616
616
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
617
617
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
618
|
-
* @param {
|
|
618
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
619
619
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
620
620
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
621
621
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -633,7 +633,7 @@ if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("M
|
|
|
633
633
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
634
634
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
635
635
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
636
|
-
* @param {
|
|
636
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
637
637
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
638
638
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
639
639
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -641,7 +641,7 @@ if(paymentIntentInput===undefined||paymentIntentInput===null){throw new Error("M
|
|
|
641
641
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
642
642
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
|
|
643
643
|
*/},{key:"createStripePriceWithHttpInfo",value:function createStripePriceWithHttpInfo(priceInput,opts){opts=opts||{};var postBody=priceInput;// verify the required parameter 'priceInput' is set
|
|
644
|
-
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
644
|
+
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
645
645
|
* Creates a new price
|
|
646
646
|
* Creates a new price in Stripe
|
|
647
647
|
* @param {module:model/PriceInput} priceInput Contains the info to create the price
|
|
@@ -652,7 +652,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
652
652
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
653
653
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
654
654
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
655
|
-
* @param {
|
|
655
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
656
656
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
657
657
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
658
658
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -670,7 +670,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
670
670
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
671
671
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
672
672
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
673
|
-
* @param {
|
|
673
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
674
674
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
675
675
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
676
676
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -678,7 +678,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
678
678
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
679
679
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PricebookResponse} and HTTP response
|
|
680
680
|
*/},{key:"createStripePricebookWithHttpInfo",value:function createStripePricebookWithHttpInfo(pricebookInput,opts){opts=opts||{};var postBody=pricebookInput;// verify the required parameter 'pricebookInput' is set
|
|
681
|
-
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling createStripePricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
681
|
+
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling createStripePricebook");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
682
682
|
* Creates a new pricebook
|
|
683
683
|
* Creates a new pricebook for grouping prices
|
|
684
684
|
* @param {module:model/PricebookInput} pricebookInput Contains the info to create the pricebook
|
|
@@ -689,7 +689,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
689
689
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
690
690
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
691
691
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
692
|
-
* @param {
|
|
692
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
693
693
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
694
694
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
695
695
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -707,7 +707,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
707
707
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
708
708
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
709
709
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
710
|
-
* @param {
|
|
710
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
711
711
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
712
712
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
713
713
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -715,7 +715,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
715
715
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
716
716
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
717
717
|
*/},{key:"createStripeProductWithHttpInfo",value:function createStripeProductWithHttpInfo(productInput,opts){opts=opts||{};var postBody=productInput;// verify the required parameter 'productInput' is set
|
|
718
|
-
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
718
|
+
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
719
719
|
* Creates a new product
|
|
720
720
|
* Creates a new product in Stripe
|
|
721
721
|
* @param {module:model/ProductInput} productInput Contains the info to create the product
|
|
@@ -726,7 +726,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
726
726
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
727
727
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
728
728
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
729
|
-
* @param {
|
|
729
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
730
730
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
731
731
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
732
732
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -744,7 +744,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
744
744
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
745
745
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
746
746
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
747
|
-
* @param {
|
|
747
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
748
748
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
749
749
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
750
750
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -752,7 +752,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
752
752
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
753
753
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
754
754
|
*/},{key:"createStripeProductCategoryWithHttpInfo",value:function createStripeProductCategoryWithHttpInfo(productCategoryInput,opts){opts=opts||{};var postBody=productCategoryInput;// verify the required parameter 'productCategoryInput' is set
|
|
755
|
-
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
755
|
+
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
756
756
|
* Creates a new product category
|
|
757
757
|
* Creates a new product category
|
|
758
758
|
* @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
|
|
@@ -763,7 +763,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
763
763
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
764
764
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
765
765
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
766
|
-
* @param {
|
|
766
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
767
767
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
768
768
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
769
769
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -781,7 +781,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
781
781
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
782
782
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
783
783
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
784
|
-
* @param {
|
|
784
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
785
785
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
786
786
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
787
787
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -789,7 +789,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
789
789
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
790
790
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
|
|
791
791
|
*/},{key:"createStripeSubscriptionWithHttpInfo",value:function createStripeSubscriptionWithHttpInfo(subscriptionInput,opts){opts=opts||{};var postBody=subscriptionInput;// verify the required parameter 'subscriptionInput' is set
|
|
792
|
-
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
792
|
+
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
793
793
|
* Creates a new subscription
|
|
794
794
|
* Creates a recurring subscription for the logged-in user
|
|
795
795
|
* @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
|
|
@@ -800,7 +800,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
800
800
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
801
801
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
802
802
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
803
|
-
* @param {
|
|
803
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
804
804
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
805
805
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
806
806
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -815,14 +815,14 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
815
815
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
816
816
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
817
817
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
818
|
-
* @param {
|
|
818
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
819
819
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
820
820
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
821
821
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
822
822
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
823
823
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
824
824
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
825
|
-
*/},{key:"deleteStripeAccountWithHttpInfo",value:function deleteStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
825
|
+
*/},{key:"deleteStripeAccountWithHttpInfo",value:function deleteStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
826
826
|
* @param {Object} opts Optional parameters
|
|
827
827
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
828
828
|
* @param {Number} opts.cacheduration Optional cache duration override in seconds for cache-aware infrastructure.
|
|
@@ -830,7 +830,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
830
830
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
831
831
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
832
832
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
833
|
-
* @param {
|
|
833
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
834
834
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
835
835
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
836
836
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -846,7 +846,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
846
846
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
847
847
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
848
848
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
849
|
-
* @param {
|
|
849
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
850
850
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
851
851
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
852
852
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -854,7 +854,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
854
854
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
855
855
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
856
856
|
*/},{key:"deleteStripeAccountWithIdWithHttpInfo",value:function deleteStripeAccountWithIdWithHttpInfo(accountID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'accountID' is set
|
|
857
|
-
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account/{accountID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
857
|
+
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=Object;return this.apiClient.callApi('/payments/stripe/account/{accountID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
858
858
|
* @param {Number} accountID The id of the account to delete
|
|
859
859
|
* @param {Object} opts Optional parameters
|
|
860
860
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -863,7 +863,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
863
863
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
864
864
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
865
865
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
866
|
-
* @param {
|
|
866
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
867
867
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
868
868
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
869
869
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -881,7 +881,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
881
881
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
882
882
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
883
883
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
884
|
-
* @param {
|
|
884
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
885
885
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
886
886
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
887
887
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -889,7 +889,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
889
889
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
890
890
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
891
891
|
*/},{key:"deleteStripePaymentMethodWithHttpInfo",value:function deleteStripePaymentMethodWithHttpInfo(paymentMethodID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'paymentMethodID' is set
|
|
892
|
-
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
892
|
+
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
893
893
|
* Adds payment methods for the customer stored in stripe
|
|
894
894
|
* Retrieves the payment methods for the customer stored in stripe
|
|
895
895
|
* @param {String} paymentMethodID The id of the payment method to delete
|
|
@@ -900,7 +900,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
900
900
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
901
901
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
902
902
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
903
|
-
* @param {
|
|
903
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
904
904
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
905
905
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
906
906
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -918,7 +918,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
918
918
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
919
919
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
920
920
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
921
|
-
* @param {
|
|
921
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
922
922
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
923
923
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
924
924
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -926,7 +926,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
926
926
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
927
927
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
|
|
928
928
|
*/},{key:"deleteStripePriceWithHttpInfo",value:function deleteStripePriceWithHttpInfo(priceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'priceId' is set
|
|
929
|
-
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
929
|
+
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
930
930
|
* Archives a price
|
|
931
931
|
* Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
|
|
932
932
|
* @param {String} priceId The price ID
|
|
@@ -937,7 +937,7 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
937
937
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
938
938
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
939
939
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
940
|
-
* @param {
|
|
940
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
941
941
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
942
942
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
943
943
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -955,7 +955,7 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
955
955
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
956
956
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
957
957
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
958
|
-
* @param {
|
|
958
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
959
959
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
960
960
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
961
961
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -963,7 +963,7 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
963
963
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
964
964
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
965
965
|
*/},{key:"deleteStripePricebookWithHttpInfo",value:function deleteStripePricebookWithHttpInfo(id,opts){opts=opts||{};var postBody=null;// verify the required parameter 'id' is set
|
|
966
|
-
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling deleteStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/pricebook/{id}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
966
|
+
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling deleteStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/pricebook/{id}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
967
967
|
* Deletes a pricebook
|
|
968
968
|
* Deletes a pricebook and removes its links to prices. Does not delete or alter Stripe prices.
|
|
969
969
|
* @param {Number} id The pricebook ID
|
|
@@ -974,7 +974,7 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
974
974
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
975
975
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
976
976
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
977
|
-
* @param {
|
|
977
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
978
978
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
979
979
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
980
980
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -992,7 +992,7 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
992
992
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
993
993
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
994
994
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
995
|
-
* @param {
|
|
995
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
996
996
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
997
997
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
998
998
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1000,7 +1000,7 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1000
1000
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1001
1001
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductOutput} and HTTP response
|
|
1002
1002
|
*/},{key:"deleteStripeProductWithHttpInfo",value:function deleteStripeProductWithHttpInfo(productId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'productId' is set
|
|
1003
|
-
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1003
|
+
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1004
1004
|
* Deletes a product
|
|
1005
1005
|
* Deletes a product
|
|
1006
1006
|
* @param {String} productId The product ID
|
|
@@ -1011,7 +1011,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1011
1011
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1012
1012
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1013
1013
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1014
|
-
* @param {
|
|
1014
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1015
1015
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1016
1016
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1017
1017
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1029,7 +1029,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1029
1029
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1030
1030
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1031
1031
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1032
|
-
* @param {
|
|
1032
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1033
1033
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1034
1034
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1035
1035
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1037,7 +1037,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1037
1037
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1038
1038
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1039
1039
|
*/},{key:"deleteStripeProductCategoryWithHttpInfo",value:function deleteStripeProductCategoryWithHttpInfo(categoryId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'categoryId' is set
|
|
1040
|
-
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1040
|
+
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1041
1041
|
* Deletes a category
|
|
1042
1042
|
* Deletes a category
|
|
1043
1043
|
* @param {Number} categoryId The category ID
|
|
@@ -1048,7 +1048,7 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1048
1048
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1049
1049
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1050
1050
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1051
|
-
* @param {
|
|
1051
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1052
1052
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1053
1053
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1054
1054
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1066,7 +1066,7 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1066
1066
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1067
1067
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1068
1068
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1069
|
-
* @param {
|
|
1069
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1070
1070
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1071
1071
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1072
1072
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1074,7 +1074,7 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1074
1074
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1075
1075
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
1076
1076
|
*/},{key:"finalizeStripeInvoiceWithHttpInfo",value:function finalizeStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
1077
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling finalizeStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/finalize','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1077
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling finalizeStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/finalize','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1078
1078
|
* Finalizes a draft invoice
|
|
1079
1079
|
* Finalizes a draft invoice so it can be paid or sent
|
|
1080
1080
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -1085,7 +1085,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1085
1085
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1086
1086
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1087
1087
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1088
|
-
* @param {
|
|
1088
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1089
1089
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1090
1090
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1091
1091
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1101,14 +1101,14 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1101
1101
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1102
1102
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1103
1103
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1104
|
-
* @param {
|
|
1104
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1105
1105
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1106
1106
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1107
1107
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1108
1108
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1109
1109
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1110
1110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1111
|
-
*/},{key:"get6WithHttpInfo",value:function get6WithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=null;return this.apiClient.callApi('/payments/stripe','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1111
|
+
*/},{key:"get6WithHttpInfo",value:function get6WithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=null;return this.apiClient.callApi('/payments/stripe','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1112
1112
|
* Root for the API
|
|
1113
1113
|
* @param {Object} opts Optional parameters
|
|
1114
1114
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -1117,7 +1117,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1117
1117
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1118
1118
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1119
1119
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1120
|
-
* @param {
|
|
1120
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1121
1121
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1122
1122
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1123
1123
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1134,7 +1134,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1134
1134
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1135
1135
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1136
1136
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1137
|
-
* @param {
|
|
1137
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1138
1138
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1139
1139
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1140
1140
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1142,7 +1142,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1142
1142
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1143
1143
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponse} and HTTP response
|
|
1144
1144
|
*/},{key:"get7WithHttpInfo",value:function get7WithHttpInfo(id,opts){opts=opts||{};var postBody=null;// verify the required parameter 'id' is set
|
|
1145
|
-
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling get7");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PurgeDataDefaultResponse["default"];return this.apiClient.callApi('/payments/stripe/{id}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1145
|
+
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling get7");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PurgeDataDefaultResponse["default"];return this.apiClient.callApi('/payments/stripe/{id}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1146
1146
|
* Gets and object by id
|
|
1147
1147
|
* @param {Number} id
|
|
1148
1148
|
* @param {Object} opts Optional parameters
|
|
@@ -1152,7 +1152,7 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1152
1152
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1153
1153
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1154
1154
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1155
|
-
* @param {
|
|
1155
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1156
1156
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1157
1157
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1158
1158
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1170,7 +1170,7 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1170
1170
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1171
1171
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1172
1172
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1173
|
-
* @param {
|
|
1173
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1174
1174
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1175
1175
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1176
1176
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1178,7 +1178,7 @@ if(id===undefined||id===null){throw new Error("Missing the required parameter 'i
|
|
|
1178
1178
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1179
1179
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
1180
1180
|
*/},{key:"getApplicationStripePaymentAccountWithHttpInfo",value:function getApplicationStripePaymentAccountWithHttpInfo(applicationid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'applicationid' is set
|
|
1181
|
-
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1181
|
+
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1182
1182
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1183
1183
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1184
1184
|
* @param {Number} applicationid
|
|
@@ -1189,7 +1189,7 @@ if(applicationid===undefined||applicationid===null){throw new Error("Missing the
|
|
|
1189
1189
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1190
1190
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1191
1191
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1192
|
-
* @param {
|
|
1192
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1193
1193
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1194
1194
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1195
1195
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1207,7 +1207,7 @@ if(applicationid===undefined||applicationid===null){throw new Error("Missing the
|
|
|
1207
1207
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1208
1208
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1209
1209
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1210
|
-
* @param {
|
|
1210
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1211
1211
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1212
1212
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1213
1213
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1215,7 +1215,7 @@ if(applicationid===undefined||applicationid===null){throw new Error("Missing the
|
|
|
1215
1215
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1216
1216
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
1217
1217
|
*/},{key:"getDefaultCustomerStripePaymentMethodWithHttpInfo",value:function getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'customerID' is set
|
|
1218
|
-
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1218
|
+
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1219
1219
|
* Gets the default payment method
|
|
1220
1220
|
* Retrieves the default payment for the customer stored in stripe
|
|
1221
1221
|
* @param {Number} customerID The id of the customer
|
|
@@ -1226,7 +1226,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1226
1226
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1227
1227
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1228
1228
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1229
|
-
* @param {
|
|
1229
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1230
1230
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1231
1231
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1232
1232
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1243,14 +1243,14 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1243
1243
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1244
1244
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1245
1245
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1246
|
-
* @param {
|
|
1246
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1247
1247
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1248
1248
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1249
1249
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1250
1250
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1251
1251
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1252
1252
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
1253
|
-
*/},{key:"getDefaultStripePaymentMethodWithHttpInfo",value:function getDefaultStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1253
|
+
*/},{key:"getDefaultStripePaymentMethodWithHttpInfo",value:function getDefaultStripePaymentMethodWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1254
1254
|
* Gets the default payment method
|
|
1255
1255
|
* Retrieves the default payment for the customer stored in stripe
|
|
1256
1256
|
* @param {Object} opts Optional parameters
|
|
@@ -1260,7 +1260,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1260
1260
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1261
1261
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1262
1262
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1263
|
-
* @param {
|
|
1263
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1264
1264
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1265
1265
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1266
1266
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1278,7 +1278,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1278
1278
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1279
1279
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1280
1280
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1281
|
-
* @param {
|
|
1281
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1282
1282
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1283
1283
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1284
1284
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1286,7 +1286,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1286
1286
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1287
1287
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
1288
1288
|
*/},{key:"getSiteStripePaymentAccountWithHttpInfo",value:function getSiteStripePaymentAccountWithHttpInfo(siteid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'siteid' is set
|
|
1289
|
-
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1289
|
+
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");}var pathParams={'siteid':siteid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1290
1290
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1291
1291
|
* Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
1292
1292
|
* @param {Number} siteid
|
|
@@ -1297,7 +1297,7 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1297
1297
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1298
1298
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1299
1299
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1300
|
-
* @param {
|
|
1300
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1301
1301
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1302
1302
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1303
1303
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1314,14 +1314,14 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1314
1314
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1315
1315
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1316
1316
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1317
|
-
* @param {
|
|
1317
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1318
1318
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1319
1319
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1320
1320
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1321
1321
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1322
1322
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1323
1323
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
1324
|
-
*/},{key:"getStripeAccountWithHttpInfo",value:function getStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1324
|
+
*/},{key:"getStripeAccountWithHttpInfo",value:function getStripeAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1325
1325
|
* Retrieves the Stripe Account For the Logged In User
|
|
1326
1326
|
* Retrieves the Stripe Customer Account
|
|
1327
1327
|
* @param {Object} opts Optional parameters
|
|
@@ -1331,7 +1331,7 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1331
1331
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1332
1332
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1333
1333
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1334
|
-
* @param {
|
|
1334
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1335
1335
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1336
1336
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1337
1337
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1349,7 +1349,7 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1349
1349
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1350
1350
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1351
1351
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1352
|
-
* @param {
|
|
1352
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1353
1353
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1354
1354
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1355
1355
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1357,7 +1357,7 @@ if(siteid===undefined||siteid===null){throw new Error("Missing the required para
|
|
|
1357
1357
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1358
1358
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
|
|
1359
1359
|
*/},{key:"getStripeAccountBalanceWithHttpInfo",value:function getStripeAccountBalanceWithHttpInfo(accountID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'accountID' is set
|
|
1360
|
-
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1360
|
+
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1361
1361
|
* Gets the balance of the logged in user
|
|
1362
1362
|
* Gets the balance of the logged in user
|
|
1363
1363
|
* @param {Number} accountID The id of the account we are getting the balance for
|
|
@@ -1368,7 +1368,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1368
1368
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1369
1369
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1370
1370
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1371
|
-
* @param {
|
|
1371
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1372
1372
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1373
1373
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1374
1374
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1385,14 +1385,14 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1385
1385
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1386
1386
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1387
1387
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1388
|
-
* @param {
|
|
1388
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1389
1389
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1390
1390
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1391
1391
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1392
1392
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1393
1393
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1394
1394
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
|
|
1395
|
-
*/},{key:"getStripeApiKeyWithHttpInfo",value:function getStripeApiKeyWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['text/plain'];var returnType='String';return this.apiClient.callApi('/payments/stripe/apikey','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1395
|
+
*/},{key:"getStripeApiKeyWithHttpInfo",value:function getStripeApiKeyWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['text/plain'];var returnType='String';return this.apiClient.callApi('/payments/stripe/apikey','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1396
1396
|
* Returns the publishable API key for Stripe
|
|
1397
1397
|
* Returns the publishable API key for Stripe
|
|
1398
1398
|
* @param {Object} opts Optional parameters
|
|
@@ -1402,7 +1402,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1402
1402
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1403
1403
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1404
1404
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1405
|
-
* @param {
|
|
1405
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1406
1406
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1407
1407
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1408
1408
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1419,14 +1419,14 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1419
1419
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1420
1420
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1421
1421
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1422
|
-
* @param {
|
|
1422
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1423
1423
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1424
1424
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1425
1425
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1426
1426
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1427
1427
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1428
1428
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
|
|
1429
|
-
*/},{key:"getStripeBalanceWithHttpInfo",value:function getStripeBalanceWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1429
|
+
*/},{key:"getStripeBalanceWithHttpInfo",value:function getStripeBalanceWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_BalanceResponse["default"];return this.apiClient.callApi('/payments/stripe/balance','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1430
1430
|
* Gets the balance of the logged in user
|
|
1431
1431
|
* Gets the balance of the logged in user
|
|
1432
1432
|
* @param {Object} opts Optional parameters
|
|
@@ -1436,7 +1436,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1436
1436
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1437
1437
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1438
1438
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1439
|
-
* @param {
|
|
1439
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1440
1440
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1441
1441
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1442
1442
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1454,7 +1454,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1454
1454
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1455
1455
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1456
1456
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1457
|
-
* @param {
|
|
1457
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1458
1458
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1459
1459
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1460
1460
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1462,7 +1462,7 @@ if(accountID===undefined||accountID===null){throw new Error("Missing the require
|
|
|
1462
1462
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1463
1463
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeCheckoutSession} and HTTP response
|
|
1464
1464
|
*/},{key:"getStripeCheckoutSessionWithHttpInfo",value:function getStripeCheckoutSessionWithHttpInfo(sessionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'sessionId' is set
|
|
1465
|
-
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeCheckoutSession["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1465
|
+
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeCheckoutSession["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1466
1466
|
* Retrieves a Stripe Checkout Session
|
|
1467
1467
|
* Retrieves the details of a checkout session by ID
|
|
1468
1468
|
* @param {String} sessionId The checkout session ID
|
|
@@ -1473,7 +1473,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1473
1473
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1474
1474
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1475
1475
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1476
|
-
* @param {
|
|
1476
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1477
1477
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1478
1478
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1479
1479
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1491,7 +1491,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1491
1491
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1492
1492
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1493
1493
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1494
|
-
* @param {
|
|
1494
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1495
1495
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1496
1496
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1497
1497
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1499,7 +1499,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1499
1499
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1500
1500
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePaymentIntent} and HTTP response
|
|
1501
1501
|
*/},{key:"getStripeCheckoutSessionPaymentWithHttpInfo",value:function getStripeCheckoutSessionPaymentWithHttpInfo(sessionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'sessionId' is set
|
|
1502
|
-
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePaymentIntent["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1502
|
+
if(sessionId===undefined||sessionId===null){throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");}var pathParams={'sessionId':sessionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePaymentIntent["default"];return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1503
1503
|
* Retrieves the payment intent for a checkout session
|
|
1504
1504
|
* Retrieves the payment intent associated with a checkout session to verify payment status
|
|
1505
1505
|
* @param {String} sessionId The checkout session ID
|
|
@@ -1510,7 +1510,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1510
1510
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1511
1511
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1512
1512
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1513
|
-
* @param {
|
|
1513
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1514
1514
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1515
1515
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1516
1516
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1527,14 +1527,14 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1527
1527
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1528
1528
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1529
1529
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1530
|
-
* @param {
|
|
1530
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1531
1531
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1532
1532
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1533
1533
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1534
1534
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1535
1535
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1536
1536
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
1537
|
-
*/},{key:"getStripeCustomerAccountWithHttpInfo",value:function getStripeCustomerAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1537
|
+
*/},{key:"getStripeCustomerAccountWithHttpInfo",value:function getStripeCustomerAccountWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1538
1538
|
* Retrieves the Stripe Customer Account For the Logged In User
|
|
1539
1539
|
* Retrieves the Stripe Customer Account
|
|
1540
1540
|
* @param {Object} opts Optional parameters
|
|
@@ -1544,7 +1544,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1544
1544
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1545
1545
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1546
1546
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1547
|
-
* @param {
|
|
1547
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1548
1548
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1549
1549
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1550
1550
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1562,7 +1562,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1562
1562
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1563
1563
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1564
1564
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1565
|
-
* @param {
|
|
1565
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1566
1566
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1567
1567
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1568
1568
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1570,7 +1570,7 @@ if(sessionId===undefined||sessionId===null){throw new Error("Missing the require
|
|
|
1570
1570
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1571
1571
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
|
|
1572
1572
|
*/},{key:"getStripeCustomerPaymentMethodsWithHttpInfo",value:function getStripeCustomerPaymentMethodsWithHttpInfo(customerID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'customerID' is set
|
|
1573
|
-
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1573
|
+
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1574
1574
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1575
1575
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1576
1576
|
* @param {Number} customerID The customerid to update
|
|
@@ -1581,7 +1581,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1581
1581
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1582
1582
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1583
1583
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1584
|
-
* @param {
|
|
1584
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1585
1585
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1586
1586
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1587
1587
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1599,7 +1599,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1599
1599
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1600
1600
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1601
1601
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1602
|
-
* @param {
|
|
1602
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1603
1603
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1604
1604
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1605
1605
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1607,7 +1607,7 @@ if(customerID===undefined||customerID===null){throw new Error("Missing the requi
|
|
|
1607
1607
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1608
1608
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
1609
1609
|
*/},{key:"getStripeInvoiceWithHttpInfo",value:function getStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
1610
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling getStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1610
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling getStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1611
1611
|
* Retrieves an invoice by Stripe ID
|
|
1612
1612
|
* Gets a single invoice by its Stripe invoice ID (e.g. in_xxx)
|
|
1613
1613
|
* @param {String} invoiceId Stripe invoice ID (e.g. in_xxx)
|
|
@@ -1618,7 +1618,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1618
1618
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1619
1619
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1620
1620
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1621
|
-
* @param {
|
|
1621
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1622
1622
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1623
1623
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1624
1624
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1635,14 +1635,14 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1635
1635
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1636
1636
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1637
1637
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1638
|
-
* @param {
|
|
1638
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1639
1639
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1640
1640
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1641
1641
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1642
1642
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1643
1643
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1644
1644
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
|
|
1645
|
-
*/},{key:"getStripePaymentMethodsWithHttpInfo",value:function getStripePaymentMethodsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1645
|
+
*/},{key:"getStripePaymentMethodsWithHttpInfo",value:function getStripePaymentMethodsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PaymentMethodsResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1646
1646
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1647
1647
|
* Retrieves the payment methods for the customer stored in stripe
|
|
1648
1648
|
* @param {Object} opts Optional parameters
|
|
@@ -1652,7 +1652,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1652
1652
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1653
1653
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1654
1654
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1655
|
-
* @param {
|
|
1655
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1656
1656
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1657
1657
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1658
1658
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1670,7 +1670,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1670
1670
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1671
1671
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1672
1672
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1673
|
-
* @param {
|
|
1673
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1674
1674
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1675
1675
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1676
1676
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1678,7 +1678,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
1678
1678
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1679
1679
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
|
|
1680
1680
|
*/},{key:"getStripePriceWithHttpInfo",value:function getStripePriceWithHttpInfo(priceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'priceId' is set
|
|
1681
|
-
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1681
|
+
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripePrice["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1682
1682
|
* Retrieves a price by ID
|
|
1683
1683
|
* Gets the details of a specific price
|
|
1684
1684
|
* @param {String} priceId The price ID
|
|
@@ -1689,7 +1689,7 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
1689
1689
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1690
1690
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1691
1691
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1692
|
-
* @param {
|
|
1692
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1693
1693
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1694
1694
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1695
1695
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1707,7 +1707,7 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
1707
1707
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1708
1708
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1709
1709
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1710
|
-
* @param {
|
|
1710
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1711
1711
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1712
1712
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1713
1713
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1715,7 +1715,7 @@ if(priceId===undefined||priceId===null){throw new Error("Missing the required pa
|
|
|
1715
1715
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1716
1716
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Pricebook} and HTTP response
|
|
1717
1717
|
*/},{key:"getStripePricebookWithHttpInfo",value:function getStripePricebookWithHttpInfo(idOrKey,opts){opts=opts||{};var postBody=null;// verify the required parameter 'idOrKey' is set
|
|
1718
|
-
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripePricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_Pricebook["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1718
|
+
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripePricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_Pricebook["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1719
1719
|
* Retrieves a pricebook by ID or key
|
|
1720
1720
|
* Gets the details of a specific pricebook by its graph ID or unique key
|
|
1721
1721
|
* @param {String} idOrKey The pricebook ID (numeric) or unique key
|
|
@@ -1726,7 +1726,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1726
1726
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1727
1727
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1728
1728
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1729
|
-
* @param {
|
|
1729
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1730
1730
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1731
1731
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1732
1732
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1744,7 +1744,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1744
1744
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1745
1745
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1746
1746
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1747
|
-
* @param {
|
|
1747
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1748
1748
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1749
1749
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1750
1750
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1752,7 +1752,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1752
1752
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1753
1753
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductOutput} and HTTP response
|
|
1754
1754
|
*/},{key:"getStripeProductWithHttpInfo",value:function getStripeProductWithHttpInfo(productId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'productId' is set
|
|
1755
|
-
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1755
|
+
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductOutput["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1756
1756
|
* Retrieves a product by ID
|
|
1757
1757
|
* Gets the details of a specific product
|
|
1758
1758
|
* @param {String} productId The product ID
|
|
@@ -1763,7 +1763,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1763
1763
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1764
1764
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1765
1765
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1766
|
-
* @param {
|
|
1766
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1767
1767
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1768
1768
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1769
1769
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1781,7 +1781,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1781
1781
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1782
1782
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1783
1783
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1784
|
-
* @param {
|
|
1784
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1785
1785
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1786
1786
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1787
1787
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1789,7 +1789,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
1789
1789
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1790
1790
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryOutput} and HTTP response
|
|
1791
1791
|
*/},{key:"getStripeProductCategoryWithHttpInfo",value:function getStripeProductCategoryWithHttpInfo(categoryId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'categoryId' is set
|
|
1792
|
-
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1792
|
+
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1793
1793
|
* Retrieves a category by ID
|
|
1794
1794
|
* Gets the details of a specific category
|
|
1795
1795
|
* @param {Number} categoryId The category ID
|
|
@@ -1800,7 +1800,7 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1800
1800
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1801
1801
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1802
1802
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1803
|
-
* @param {
|
|
1803
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1804
1804
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1805
1805
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1806
1806
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1818,7 +1818,7 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1818
1818
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1819
1819
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1820
1820
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1821
|
-
* @param {
|
|
1821
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1822
1822
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1823
1823
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1824
1824
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1826,7 +1826,7 @@ if(categoryId===undefined||categoryId===null){throw new Error("Missing the requi
|
|
|
1826
1826
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1827
1827
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryOutput} and HTTP response
|
|
1828
1828
|
*/},{key:"getStripeProductCategoryByKeyWithHttpInfo",value:function getStripeProductCategoryByKeyWithHttpInfo(key,opts){opts=opts||{};var postBody=null;// verify the required parameter 'key' is set
|
|
1829
|
-
if(key===undefined||key===null){throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");}var pathParams={'key':key};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/key/{key}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1829
|
+
if(key===undefined||key===null){throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");}var pathParams={'key':key};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ProductCategoryOutput["default"];return this.apiClient.callApi('/payments/stripe/product-category/key/{key}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1830
1830
|
* Retrieves a category by unique key
|
|
1831
1831
|
* Gets the details of a specific category by its unique key
|
|
1832
1832
|
* @param {String} key The category key
|
|
@@ -1837,7 +1837,7 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1837
1837
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1838
1838
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1839
1839
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1840
|
-
* @param {
|
|
1840
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1841
1841
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1842
1842
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1843
1843
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1854,14 +1854,14 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1854
1854
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1855
1855
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1856
1856
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1857
|
-
* @param {
|
|
1857
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1858
1858
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1859
1859
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1860
1860
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1861
1861
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1862
1862
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1863
1863
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeSubscription>} and HTTP response
|
|
1864
|
-
*/},{key:"getStripeSubscriptionsWithHttpInfo",value:function getStripeSubscriptionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripeSubscription["default"]];return this.apiClient.callApi('/payments/stripe/subscription','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1864
|
+
*/},{key:"getStripeSubscriptionsWithHttpInfo",value:function getStripeSubscriptionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripeSubscription["default"]];return this.apiClient.callApi('/payments/stripe/subscription','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1865
1865
|
* Lists all subscriptions for the logged-in user
|
|
1866
1866
|
* Retrieves all subscriptions for the current user
|
|
1867
1867
|
* @param {Object} opts Optional parameters
|
|
@@ -1871,7 +1871,7 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1871
1871
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1872
1872
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1873
1873
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1874
|
-
* @param {
|
|
1874
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1875
1875
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1876
1876
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1877
1877
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1889,7 +1889,7 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1889
1889
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1890
1890
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1891
1891
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1892
|
-
* @param {
|
|
1892
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1893
1893
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1894
1894
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1895
1895
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1897,7 +1897,7 @@ if(key===undefined||key===null){throw new Error("Missing the required parameter
|
|
|
1897
1897
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1898
1898
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransactionOutput} and HTTP response
|
|
1899
1899
|
*/},{key:"getStripeTransactionWithHttpInfo",value:function getStripeTransactionWithHttpInfo(idOrKey,opts){opts=opts||{};var postBody=null;// verify the required parameter 'idOrKey' is set
|
|
1900
|
-
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripeTransaction");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransactionOutput["default"];return this.apiClient.callApi('/payments/stripe/transactions/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1900
|
+
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling getStripeTransaction");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransactionOutput["default"];return this.apiClient.callApi('/payments/stripe/transactions/{idOrKey}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1901
1901
|
* Get a payment transaction
|
|
1902
1902
|
* Get a single transaction by graph relationship id or key or external id (e.g. pi_xxx, in_xxx)
|
|
1903
1903
|
* @param {String} idOrKey Graph relationship id, key, or external id (e.g. pi_xxx, in_xxx)
|
|
@@ -1908,7 +1908,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1908
1908
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1909
1909
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1910
1910
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1911
|
-
* @param {
|
|
1911
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1912
1912
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1913
1913
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1914
1914
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1926,7 +1926,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1926
1926
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1927
1927
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1928
1928
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1929
|
-
* @param {
|
|
1929
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1930
1930
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1931
1931
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1932
1932
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1934,7 +1934,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
1934
1934
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1935
1935
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
1936
1936
|
*/},{key:"getStripeTransferWithHttpInfo",value:function getStripeTransferWithHttpInfo(transferID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'transferID' is set
|
|
1937
|
-
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1937
|
+
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1938
1938
|
* Retrieves the transfer payment with the given transferId
|
|
1939
1939
|
* Retrieves the transfer payment with the given transferId
|
|
1940
1940
|
* @param {String} transferID The id of the transfer
|
|
@@ -1945,7 +1945,7 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1945
1945
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1946
1946
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1947
1947
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1948
|
-
* @param {
|
|
1948
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1949
1949
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1950
1950
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1951
1951
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1963,7 +1963,7 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1963
1963
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1964
1964
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
1965
1965
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1966
|
-
* @param {
|
|
1966
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1967
1967
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1968
1968
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1969
1969
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -1971,7 +1971,7 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1971
1971
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1972
1972
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
1973
1973
|
*/},{key:"getStripeTransferPaymentMethodDetailsWithHttpInfo",value:function getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'transferID' is set
|
|
1974
|
-
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1974
|
+
if(transferID===undefined||transferID===null){throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");}var pathParams={'transferID':transferID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
1975
1975
|
* Retrieves the transfer payment details with the given transferId
|
|
1976
1976
|
* Retrieves the transfer payment with the given transferId
|
|
1977
1977
|
* @param {String} transferID The id of the transfer
|
|
@@ -1982,7 +1982,7 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
1982
1982
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
1983
1983
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
1984
1984
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
1985
|
-
* @param {
|
|
1985
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
1986
1986
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1987
1987
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
1988
1988
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2000,7 +2000,7 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
2000
2000
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2001
2001
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2002
2002
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2003
|
-
* @param {
|
|
2003
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2004
2004
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2005
2005
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2006
2006
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2008,7 +2008,7 @@ if(transferID===undefined||transferID===null){throw new Error("Missing the requi
|
|
|
2008
2008
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2009
2009
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
2010
2010
|
*/},{key:"getSubscriptionWithHttpInfo",value:function getSubscriptionWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
2011
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2011
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2012
2012
|
* Retrieves a subscription by ID
|
|
2013
2013
|
* Gets the details of a specific subscription
|
|
2014
2014
|
* @param {String} subscriptionId The subscription ID
|
|
@@ -2019,7 +2019,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2019
2019
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2020
2020
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2021
2021
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2022
|
-
* @param {
|
|
2022
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2023
2023
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2024
2024
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2025
2025
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2036,7 +2036,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2036
2036
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2037
2037
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2038
2038
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2039
|
-
* @param {
|
|
2039
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2040
2040
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2041
2041
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2042
2042
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2045,7 +2045,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2045
2045
|
* @param {Number} [siteId] Optional site id (graph id). When provided, config is for this site and CATEGORY_ADMIN is required on the site. At most one of siteId or appId may be provided.
|
|
2046
2046
|
* @param {Number} [appId] Optional application id (graph id). When provided, config is for this RestApplication and CATEGORY_ADMIN is required on the app. At most one of siteId or appId may be provided.
|
|
2047
2047
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeTenantConfigResponse} and HTTP response
|
|
2048
|
-
*/},{key:"getTenantStripeConfigWithHttpInfo",value:function getTenantStripeConfigWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2048
|
+
*/},{key:"getTenantStripeConfigWithHttpInfo",value:function getTenantStripeConfigWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi'),'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2049
2049
|
* Get Stripe config for tenant
|
|
2050
2050
|
* Returns the Stripe configuration for a tenant (Site or RestApplication) with masked credentials. Requires CATEGORY_ADMIN on the target tenant. Optional siteId or appId (at most one) identify the tenant; if omitted, the request root category is used.
|
|
2051
2051
|
* @param {Object} opts Optional parameters
|
|
@@ -2055,7 +2055,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2055
2055
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2056
2056
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2057
2057
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2058
|
-
* @param {
|
|
2058
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2059
2059
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2060
2060
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2061
2061
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2075,7 +2075,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2075
2075
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2076
2076
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2077
2077
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2078
|
-
* @param {
|
|
2078
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2079
2079
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2080
2080
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2081
2081
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2083,7 +2083,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2083
2083
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2084
2084
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
2085
2085
|
*/},{key:"getUserStripeAccountWithHttpInfo",value:function getUserStripeAccountWithHttpInfo(userID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'userID' is set
|
|
2086
|
-
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2086
|
+
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/account','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2087
2087
|
* Retrieves the Stripe Account For the Specified User
|
|
2088
2088
|
* Retrieves the Stripe Account
|
|
2089
2089
|
* @param {Number} userID The id of the user to retrieve the account for
|
|
@@ -2094,7 +2094,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2094
2094
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2095
2095
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2096
2096
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2097
|
-
* @param {
|
|
2097
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2098
2098
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2099
2099
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2100
2100
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2112,7 +2112,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2112
2112
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2113
2113
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2114
2114
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2115
|
-
* @param {
|
|
2115
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2116
2116
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2117
2117
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2118
2118
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2120,7 +2120,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2120
2120
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2121
2121
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
2122
2122
|
*/},{key:"getUserStripeCustomerAccountWithHttpInfo",value:function getUserStripeCustomerAccountWithHttpInfo(userID,opts){opts=opts||{};var postBody=null;// verify the required parameter 'userID' is set
|
|
2123
|
-
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2123
|
+
if(userID===undefined||userID===null){throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");}var pathParams={'userID':userID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/user/{userID}/customer','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2124
2124
|
* Retrieves the Stripe Customer Account For the Logged In User
|
|
2125
2125
|
* Retrieves the Stripe Customer Account
|
|
2126
2126
|
* @param {Number} userID The id of the user to retrieve the account for
|
|
@@ -2131,7 +2131,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2131
2131
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2132
2132
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2133
2133
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2134
|
-
* @param {
|
|
2134
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2135
2135
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2136
2136
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2137
2137
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2148,7 +2148,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2148
2148
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2149
2149
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2150
2150
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2151
|
-
* @param {
|
|
2151
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2152
2152
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2153
2153
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2154
2154
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2156,7 +2156,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2156
2156
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2157
2157
|
* @param {String} [body]
|
|
2158
2158
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2159
|
-
*/},{key:"handleStripeWebhookWithHttpInfo",value:function handleStripeWebhookWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2159
|
+
*/},{key:"handleStripeWebhookWithHttpInfo",value:function handleStripeWebhookWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2160
2160
|
* Handles Stripe webhook events
|
|
2161
2161
|
* Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers. Use for tenant Stripe webhooks or as the forward target from the global webhook.
|
|
2162
2162
|
* @param {Object} opts Optional parameters
|
|
@@ -2166,7 +2166,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2166
2166
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2167
2167
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2168
2168
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2169
|
-
* @param {
|
|
2169
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2170
2170
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2171
2171
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2172
2172
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2184,7 +2184,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2184
2184
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2185
2185
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2186
2186
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2187
|
-
* @param {
|
|
2187
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2188
2188
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2189
2189
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2190
2190
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2192,7 +2192,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2192
2192
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2193
2193
|
* @param {String} [body]
|
|
2194
2194
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
2195
|
-
*/},{key:"handleStripeWebhookGlobalWithHttpInfo",value:function handleStripeWebhookGlobalWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook/global','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2195
|
+
*/},{key:"handleStripeWebhookGlobalWithHttpInfo",value:function handleStripeWebhookGlobalWithHttpInfo(opts){opts=opts||{};var postBody=opts['body'];var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=[];var returnType=null;return this.apiClient.callApi('/payments/stripe/webhook/global','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2196
2196
|
* Global Stripe webhook (routing only)
|
|
2197
2197
|
* Global Stripe webhook: verifies signature with the system-wide webhook secret and forwards the event to the tenant webhook URL. Register this URL in the system-wide Stripe account. Does not process events locally.
|
|
2198
2198
|
* @param {Object} opts Optional parameters
|
|
@@ -2202,7 +2202,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2202
2202
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2203
2203
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2204
2204
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2205
|
-
* @param {
|
|
2205
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2206
2206
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2207
2207
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2208
2208
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2220,7 +2220,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2220
2220
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2221
2221
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2222
2222
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2223
|
-
* @param {
|
|
2223
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2224
2224
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2225
2225
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2226
2226
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2229,7 +2229,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2229
2229
|
* @param {Number} [limit] Max items per page (1-100, default 100)
|
|
2230
2230
|
* @param {String} [startingAfter] Stripe invoice ID for cursor-based pagination
|
|
2231
2231
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Invoice>} and HTTP response
|
|
2232
|
-
*/},{key:"listAllStripeInvoicesWithHttpInfo",value:function listAllStripeInvoicesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'limit':opts['limit'],'startingAfter':opts['startingAfter']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices/all','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2232
|
+
*/},{key:"listAllStripeInvoicesWithHttpInfo",value:function listAllStripeInvoicesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi'),'limit':opts['limit'],'startingAfter':opts['startingAfter']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices/all','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2233
2233
|
* Lists all invoices
|
|
2234
2234
|
* Lists all invoices (root categories graph). Requires MANAGE_SALES_OR_CUSTOMERS on root category or graph.
|
|
2235
2235
|
* @param {Object} opts Optional parameters
|
|
@@ -2239,7 +2239,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2239
2239
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2240
2240
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2241
2241
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2242
|
-
* @param {
|
|
2242
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2243
2243
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2244
2244
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2245
2245
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2258,14 +2258,14 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2258
2258
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2259
2259
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2260
2260
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2261
|
-
* @param {
|
|
2261
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2262
2262
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2263
2263
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2264
2264
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2265
2265
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2266
2266
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2267
2267
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
|
|
2268
|
-
*/},{key:"listPricesWithHttpInfo",value:function listPricesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2268
|
+
*/},{key:"listPricesWithHttpInfo",value:function listPricesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2269
2269
|
* Lists all prices
|
|
2270
2270
|
* Retrieves all prices
|
|
2271
2271
|
* @param {Object} opts Optional parameters
|
|
@@ -2275,7 +2275,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2275
2275
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2276
2276
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2277
2277
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2278
|
-
* @param {
|
|
2278
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2279
2279
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2280
2280
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2281
2281
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2293,7 +2293,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2293
2293
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2294
2294
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2295
2295
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2296
|
-
* @param {
|
|
2296
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2297
2297
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2298
2298
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2299
2299
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2301,7 +2301,7 @@ if(userID===undefined||userID===null){throw new Error("Missing the required para
|
|
|
2301
2301
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2302
2302
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Invoice>} and HTTP response
|
|
2303
2303
|
*/},{key:"listStripeInvoicesWithHttpInfo",value:function listStripeInvoicesWithHttpInfo(customerId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'customerId' is set
|
|
2304
|
-
if(customerId===undefined||customerId===null){throw new Error("Missing the required parameter 'customerId' when calling listStripeInvoices");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'customerId':customerId};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2304
|
+
if(customerId===undefined||customerId===null){throw new Error("Missing the required parameter 'customerId' when calling listStripeInvoices");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi'),'customerId':customerId};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Invoice["default"]];return this.apiClient.callApi('/payments/stripe/invoices','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2305
2305
|
* Lists invoices for a customer
|
|
2306
2306
|
* Returns invoices for the given graph customer ID
|
|
2307
2307
|
* @param {Number} customerId Graph customer ID
|
|
@@ -2312,7 +2312,7 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2312
2312
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2313
2313
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2314
2314
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2315
|
-
* @param {
|
|
2315
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2316
2316
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2317
2317
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2318
2318
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2329,14 +2329,14 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2329
2329
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2330
2330
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2331
2331
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2332
|
-
* @param {
|
|
2332
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2333
2333
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2334
2334
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2335
2335
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2336
2336
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2337
2337
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2338
2338
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Pricebook>} and HTTP response
|
|
2339
|
-
*/},{key:"listStripePricebooksWithHttpInfo",value:function listStripePricebooksWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Pricebook["default"]];return this.apiClient.callApi('/payments/stripe/pricebook','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2339
|
+
*/},{key:"listStripePricebooksWithHttpInfo",value:function listStripePricebooksWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_Pricebook["default"]];return this.apiClient.callApi('/payments/stripe/pricebook','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2340
2340
|
* Lists all pricebooks
|
|
2341
2341
|
* Retrieves all pricebooks
|
|
2342
2342
|
* @param {Object} opts Optional parameters
|
|
@@ -2346,7 +2346,7 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2346
2346
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2347
2347
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2348
2348
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2349
|
-
* @param {
|
|
2349
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2350
2350
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2351
2351
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2352
2352
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2364,7 +2364,7 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2364
2364
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2365
2365
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2366
2366
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2367
|
-
* @param {
|
|
2367
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2368
2368
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2369
2369
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2370
2370
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2372,7 +2372,7 @@ if(customerId===undefined||customerId===null){throw new Error("Missing the requi
|
|
|
2372
2372
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2373
2373
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/PriceOutput>} and HTTP response
|
|
2374
2374
|
*/},{key:"listStripePricesByPricebookWithHttpInfo",value:function listStripePricesByPricebookWithHttpInfo(idOrKey,opts){opts=opts||{};var postBody=null;// verify the required parameter 'idOrKey' is set
|
|
2375
|
-
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling listStripePricesByPricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_PriceOutput["default"]];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2375
|
+
if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required parameter 'idOrKey' when calling listStripePricesByPricebook");}var pathParams={'idOrKey':idOrKey};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_PriceOutput["default"]];return this.apiClient.callApi('/payments/stripe/pricebook/{idOrKey}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2376
2376
|
* Lists all prices for a pricebook
|
|
2377
2377
|
* Retrieves all prices associated with a specific pricebook
|
|
2378
2378
|
* @param {String} idOrKey The pricebook ID (numeric) or unique key
|
|
@@ -2383,7 +2383,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
2383
2383
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2384
2384
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2385
2385
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2386
|
-
* @param {
|
|
2386
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2387
2387
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2388
2388
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2389
2389
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2401,7 +2401,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
2401
2401
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2402
2402
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2403
2403
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2404
|
-
* @param {
|
|
2404
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2405
2405
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2406
2406
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2407
2407
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2409,7 +2409,7 @@ if(idOrKey===undefined||idOrKey===null){throw new Error("Missing the required pa
|
|
|
2409
2409
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2410
2410
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
|
|
2411
2411
|
*/},{key:"listStripePricesByProductWithHttpInfo",value:function listStripePricesByProductWithHttpInfo(productId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'productId' is set
|
|
2412
|
-
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/product/{productId}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2412
|
+
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_StripePrice["default"]];return this.apiClient.callApi('/payments/stripe/product/{productId}/price','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2413
2413
|
* Lists all prices for a product
|
|
2414
2414
|
* Retrieves all prices associated with a specific product
|
|
2415
2415
|
* @param {String} productId The product ID
|
|
@@ -2420,7 +2420,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2420
2420
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2421
2421
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2422
2422
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2423
|
-
* @param {
|
|
2423
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2424
2424
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2425
2425
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2426
2426
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2437,14 +2437,14 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2437
2437
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2438
2438
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2439
2439
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2440
|
-
* @param {
|
|
2440
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2441
2441
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2442
2442
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2443
2443
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2444
2444
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2445
2445
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2446
2446
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProductCategoryOutput>} and HTTP response
|
|
2447
|
-
*/},{key:"listStripeProductCategoriesWithHttpInfo",value:function listStripeProductCategoriesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductCategoryOutput["default"]];return this.apiClient.callApi('/payments/stripe/product-category','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2447
|
+
*/},{key:"listStripeProductCategoriesWithHttpInfo",value:function listStripeProductCategoriesWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductCategoryOutput["default"]];return this.apiClient.callApi('/payments/stripe/product-category','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2448
2448
|
* Lists all product categories
|
|
2449
2449
|
* Retrieves all product categories scoped to the current ApplicationRoot
|
|
2450
2450
|
* @param {Object} opts Optional parameters
|
|
@@ -2454,7 +2454,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2454
2454
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2455
2455
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2456
2456
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2457
|
-
* @param {
|
|
2457
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2458
2458
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2459
2459
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2460
2460
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2471,14 +2471,14 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2471
2471
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2472
2472
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2473
2473
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2474
|
-
* @param {
|
|
2474
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2475
2475
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2476
2476
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2477
2477
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
2478
2478
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
2479
2479
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2480
2480
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProductOutput>} and HTTP response
|
|
2481
|
-
*/},{key:"listStripeProductsWithHttpInfo",value:function listStripeProductsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductOutput["default"]];return this.apiClient.callApi('/payments/stripe/product','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2481
|
+
*/},{key:"listStripeProductsWithHttpInfo",value:function listStripeProductsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_ProductOutput["default"]];return this.apiClient.callApi('/payments/stripe/product','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2482
2482
|
* Lists all products
|
|
2483
2483
|
* Retrieves all products
|
|
2484
2484
|
* @param {Object} opts Optional parameters
|
|
@@ -2488,7 +2488,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2488
2488
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2489
2489
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2490
2490
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2491
|
-
* @param {
|
|
2491
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2492
2492
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2493
2493
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2494
2494
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2505,7 +2505,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2505
2505
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2506
2506
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2507
2507
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2508
|
-
* @param {
|
|
2508
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2509
2509
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2510
2510
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2511
2511
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2522,7 +2522,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2522
2522
|
* @param {Number} [customerId] Optional graph customer ID to filter by payer
|
|
2523
2523
|
* @param {Number} [limit] Max items (1-100, default 100)
|
|
2524
2524
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TransactionOutput>} and HTTP response
|
|
2525
|
-
*/},{key:"listStripeTransactionsWithHttpInfo",value:function listStripeTransactionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'invoiceId':opts['invoiceId'],'userId':opts['userId'],'pageId':opts['pageId'],'applicationId':opts['applicationId'],'applicationType':opts['applicationType'],'productGraphId':opts['productGraphId'],'productStripeId':opts['productStripeId'],'stripeAccountId':opts['stripeAccountId'],'customerId':opts['customerId'],'limit':opts['limit']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_TransactionOutput["default"]];return this.apiClient.callApi('/payments/stripe/transactions','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2525
|
+
*/},{key:"listStripeTransactionsWithHttpInfo",value:function listStripeTransactionsWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi'),'invoiceId':opts['invoiceId'],'userId':opts['userId'],'pageId':opts['pageId'],'applicationId':opts['applicationId'],'applicationType':opts['applicationType'],'productGraphId':opts['productGraphId'],'productStripeId':opts['productStripeId'],'stripeAccountId':opts['stripeAccountId'],'customerId':opts['customerId'],'limit':opts['limit']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=[_TransactionOutput["default"]];return this.apiClient.callApi('/payments/stripe/transactions','GET',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2526
2526
|
* List payment transactions
|
|
2527
2527
|
* Lists payment transactions (from graph). Filter by invoiceId, userId, pageId, applicationId+applicationType, stripeAccountId, productGraphId/productStripeId, or customerId. Precedence: invoiceId > userId > pageId > stripeAccountId > application > product > customerId > all. Requires MANAGE_SALES_OR_CUSTOMERS when listing all or using invoice/product/stripeAccount/page/application filters; userId allows own user.
|
|
2528
2528
|
* @param {Object} opts Optional parameters
|
|
@@ -2532,7 +2532,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2532
2532
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2533
2533
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2534
2534
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2535
|
-
* @param {
|
|
2535
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2536
2536
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2537
2537
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2538
2538
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2561,7 +2561,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2561
2561
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2562
2562
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2563
2563
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2564
|
-
* @param {
|
|
2564
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2565
2565
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2566
2566
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2567
2567
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2570,7 +2570,7 @@ if(productId===undefined||productId===null){throw new Error("Missing the require
|
|
|
2570
2570
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PayoutResponse} and HTTP response
|
|
2571
2571
|
*/},{key:"payoutStripeAccountWithHttpInfo",value:function payoutStripeAccountWithHttpInfo(accountID,payoutInput,opts){opts=opts||{};var postBody=payoutInput;// verify the required parameter 'accountID' is set
|
|
2572
2572
|
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling payoutStripeAccount");}// verify the required parameter 'payoutInput' is set
|
|
2573
|
-
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling payoutStripeAccount");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2573
|
+
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling payoutStripeAccount");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2574
2574
|
* Pays out the specified account
|
|
2575
2575
|
* Pays out the specified account
|
|
2576
2576
|
* @param {Number} accountID The id of the account we are paying out
|
|
@@ -2582,7 +2582,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2582
2582
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2583
2583
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2584
2584
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2585
|
-
* @param {
|
|
2585
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2586
2586
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2587
2587
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2588
2588
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2601,7 +2601,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2601
2601
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2602
2602
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2603
2603
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2604
|
-
* @param {
|
|
2604
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2605
2605
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2606
2606
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2607
2607
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2610,7 +2610,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2610
2610
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
2611
2611
|
*/},{key:"removeStripeInvoiceLineItemWithHttpInfo",value:function removeStripeInvoiceLineItemWithHttpInfo(invoiceId,lineItemId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
2612
2612
|
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling removeStripeInvoiceLineItem");}// verify the required parameter 'lineItemId' is set
|
|
2613
|
-
if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the required parameter 'lineItemId' when calling removeStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2613
|
+
if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the required parameter 'lineItemId' when calling removeStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','DELETE',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2614
2614
|
* Removes a line item from a draft invoice
|
|
2615
2615
|
* Removes a line item from a draft invoice. Only draft invoices can be edited.
|
|
2616
2616
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -2622,7 +2622,7 @@ if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the requi
|
|
|
2622
2622
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2623
2623
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2624
2624
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2625
|
-
* @param {
|
|
2625
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2626
2626
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2627
2627
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2628
2628
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2640,7 +2640,7 @@ if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the requi
|
|
|
2640
2640
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2641
2641
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2642
2642
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2643
|
-
* @param {
|
|
2643
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2644
2644
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2645
2645
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2646
2646
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2648,7 +2648,7 @@ if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the requi
|
|
|
2648
2648
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2649
2649
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
|
|
2650
2650
|
*/},{key:"resumeStripeSubscriptionWithHttpInfo",value:function resumeStripeSubscriptionWithHttpInfo(subscriptionId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'subscriptionId' is set
|
|
2651
|
-
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/resume','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2651
|
+
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeSubscription["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}/resume','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2652
2652
|
* Resumes a subscription
|
|
2653
2653
|
* Resumes a subscription that was set to cancel at period end
|
|
2654
2654
|
* @param {String} subscriptionId The subscription ID
|
|
@@ -2659,7 +2659,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2659
2659
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2660
2660
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2661
2661
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2662
|
-
* @param {
|
|
2662
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2663
2663
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2664
2664
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2665
2665
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2677,7 +2677,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2677
2677
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2678
2678
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2679
2679
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2680
|
-
* @param {
|
|
2680
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2681
2681
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2682
2682
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2683
2683
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2685,7 +2685,7 @@ if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing t
|
|
|
2685
2685
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2686
2686
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
2687
2687
|
*/},{key:"sendStripeInvoiceWithHttpInfo",value:function sendStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
2688
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling sendStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/send','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2688
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling sendStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/send','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2689
2689
|
* Sends an invoice to the customer
|
|
2690
2690
|
* Sends an open invoice to the customer by email
|
|
2691
2691
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -2696,7 +2696,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
2696
2696
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2697
2697
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2698
2698
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2699
|
-
* @param {
|
|
2699
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2700
2700
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2701
2701
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2702
2702
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2715,7 +2715,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
2715
2715
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2716
2716
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2717
2717
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2718
|
-
* @param {
|
|
2718
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2719
2719
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2720
2720
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2721
2721
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2724,7 +2724,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
2724
2724
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
2725
2725
|
*/},{key:"setApplicationStripePaymentAccountWithHttpInfo",value:function setApplicationStripePaymentAccountWithHttpInfo(applicationid,accountid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'applicationid' is set
|
|
2726
2726
|
if(applicationid===undefined||applicationid===null){throw new Error("Missing the required parameter 'applicationid' when calling setApplicationStripePaymentAccount");}// verify the required parameter 'accountid' is set
|
|
2727
|
-
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2727
|
+
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setApplicationStripePaymentAccount");}var pathParams={'applicationid':applicationid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/application/{applicationid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2728
2728
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2729
2729
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2730
2730
|
* @param {Number} applicationid
|
|
@@ -2736,7 +2736,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2736
2736
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2737
2737
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2738
2738
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2739
|
-
* @param {
|
|
2739
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2740
2740
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2741
2741
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2742
2742
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2755,7 +2755,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2755
2755
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2756
2756
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2757
2757
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2758
|
-
* @param {
|
|
2758
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2759
2759
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2760
2760
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2761
2761
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2764,7 +2764,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2764
2764
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
2765
2765
|
*/},{key:"setDefaultCustomerStripePaymentMethodWithHttpInfo",value:function setDefaultCustomerStripePaymentMethodWithHttpInfo(customerID,body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'customerID' is set
|
|
2766
2766
|
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling setDefaultCustomerStripePaymentMethod");}// verify the required parameter 'body' is set
|
|
2767
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2767
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultCustomerStripePaymentMethod");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2768
2768
|
* Adds payment methods for the customer stored in stripe
|
|
2769
2769
|
* Retrieves the payment methods for the customer stored in stripe
|
|
2770
2770
|
* @param {Number} customerID The id of the customer
|
|
@@ -2776,7 +2776,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2776
2776
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2777
2777
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2778
2778
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2779
|
-
* @param {
|
|
2779
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2780
2780
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2781
2781
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2782
2782
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2794,7 +2794,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2794
2794
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2795
2795
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2796
2796
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2797
|
-
* @param {
|
|
2797
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2798
2798
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2799
2799
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2800
2800
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2802,7 +2802,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2802
2802
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2803
2803
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
2804
2804
|
*/},{key:"setDefaultStripePaymentMethodWithHttpInfo",value:function setDefaultStripePaymentMethodWithHttpInfo(body,opts){opts=opts||{};var postBody=body;// verify the required parameter 'body' is set
|
|
2805
|
-
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2805
|
+
if(body===undefined||body===null){throw new Error("Missing the required parameter 'body' when calling setDefaultStripePaymentMethod");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['text/plain'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/default','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2806
2806
|
* Sets the default payment method for the customer stored in stripe
|
|
2807
2807
|
* Retrieves the payment methods for the customer stored in stripe
|
|
2808
2808
|
* @param {String} body The id of the payment method
|
|
@@ -2813,7 +2813,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2813
2813
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2814
2814
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2815
2815
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2816
|
-
* @param {
|
|
2816
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2817
2817
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2818
2818
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2819
2819
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2832,7 +2832,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2832
2832
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2833
2833
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2834
2834
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2835
|
-
* @param {
|
|
2835
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2836
2836
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2837
2837
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2838
2838
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2841,7 +2841,7 @@ if(body===undefined||body===null){throw new Error("Missing the required paramete
|
|
|
2841
2841
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
|
|
2842
2842
|
*/},{key:"setSiteStripePaymentAccountWithHttpInfo",value:function setSiteStripePaymentAccountWithHttpInfo(siteid,accountid,opts){opts=opts||{};var postBody=null;// verify the required parameter 'siteid' is set
|
|
2843
2843
|
if(siteid===undefined||siteid===null){throw new Error("Missing the required parameter 'siteid' when calling setSiteStripePaymentAccount");}// verify the required parameter 'accountid' is set
|
|
2844
|
-
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setSiteStripePaymentAccount");}var pathParams={'siteid':siteid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2844
|
+
if(accountid===undefined||accountid===null){throw new Error("Missing the required parameter 'accountid' when calling setSiteStripePaymentAccount");}var pathParams={'siteid':siteid,'accountid':accountid};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_ApplicationPaymentAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/site/{siteid}/{accountId}/paymentaccount','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2845
2845
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2846
2846
|
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
2847
2847
|
* @param {Number} siteid
|
|
@@ -2853,7 +2853,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2853
2853
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2854
2854
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2855
2855
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2856
|
-
* @param {
|
|
2856
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2857
2857
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2858
2858
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2859
2859
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2872,7 +2872,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2872
2872
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2873
2873
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2874
2874
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2875
|
-
* @param {
|
|
2875
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2876
2876
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2877
2877
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2878
2878
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2881,7 +2881,7 @@ if(accountid===undefined||accountid===null){throw new Error("Missing the require
|
|
|
2881
2881
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
2882
2882
|
*/},{key:"setStripeProductCategoryParentWithHttpInfo",value:function setStripeProductCategoryParentWithHttpInfo(categoryId,requestBody,opts){opts=opts||{};var postBody=requestBody;// verify the required parameter 'categoryId' is set
|
|
2883
2883
|
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling setStripeProductCategoryParent");}// verify the required parameter 'requestBody' is set
|
|
2884
|
-
if(requestBody===undefined||requestBody===null){throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2884
|
+
if(requestBody===undefined||requestBody===null){throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2885
2885
|
* Sets or removes parent category
|
|
2886
2886
|
* Sets the parent category for a category, or removes the parent if parentCategoryId is null
|
|
2887
2887
|
* @param {Number} categoryId The category ID
|
|
@@ -2893,7 +2893,7 @@ if(requestBody===undefined||requestBody===null){throw new Error("Missing the req
|
|
|
2893
2893
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2894
2894
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2895
2895
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2896
|
-
* @param {
|
|
2896
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2897
2897
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2898
2898
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2899
2899
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2911,7 +2911,7 @@ if(requestBody===undefined||requestBody===null){throw new Error("Missing the req
|
|
|
2911
2911
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2912
2912
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2913
2913
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2914
|
-
* @param {
|
|
2914
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2915
2915
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2916
2916
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2917
2917
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2919,7 +2919,7 @@ if(requestBody===undefined||requestBody===null){throw new Error("Missing the req
|
|
|
2919
2919
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2920
2920
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PayoutResponse} and HTTP response
|
|
2921
2921
|
*/},{key:"stripePayoutWithHttpInfo",value:function stripePayoutWithHttpInfo(payoutInput,opts){opts=opts||{};var postBody=payoutInput;// verify the required parameter 'payoutInput' is set
|
|
2922
|
-
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling stripePayout");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2922
|
+
if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the required parameter 'payoutInput' when calling stripePayout");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_PayoutResponse["default"];return this.apiClient.callApi('/payments/stripe/payout','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2923
2923
|
* Pays out the account of the logged in user
|
|
2924
2924
|
* Pays out the account of the logged in user
|
|
2925
2925
|
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
@@ -2930,7 +2930,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2930
2930
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2931
2931
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2932
2932
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2933
|
-
* @param {
|
|
2933
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2934
2934
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2935
2935
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2936
2936
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2948,7 +2948,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2948
2948
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2949
2949
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2950
2950
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2951
|
-
* @param {
|
|
2951
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2952
2952
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2953
2953
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2954
2954
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2956,7 +2956,7 @@ if(payoutInput===undefined||payoutInput===null){throw new Error("Missing the req
|
|
|
2956
2956
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
2957
2957
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
|
|
2958
2958
|
*/},{key:"stripeTransferWithHttpInfo",value:function stripeTransferWithHttpInfo(transferInput,opts){opts=opts||{};var postBody=transferInput;// verify the required parameter 'transferInput' is set
|
|
2959
|
-
if(transferInput===undefined||transferInput===null){throw new Error("Missing the required parameter 'transferInput' when calling stripeTransfer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2959
|
+
if(transferInput===undefined||transferInput===null){throw new Error("Missing the required parameter 'transferInput' when calling stripeTransfer");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_TransferResponse["default"];return this.apiClient.callApi('/payments/stripe/transfer','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2960
2960
|
* Sends a transfer payment from the logged in user to the recipient specified in the TransferInput
|
|
2961
2961
|
* Sends a transfer payment from the logged in user to the recipient specified in the TransferInput
|
|
2962
2962
|
* @param {module:model/TransferInput} transferInput Contains the info to create the Transfer
|
|
@@ -2967,7 +2967,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
2967
2967
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2968
2968
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
2969
2969
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2970
|
-
* @param {
|
|
2970
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2971
2971
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2972
2972
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2973
2973
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2984,7 +2984,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
2984
2984
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
2985
2985
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
2986
2986
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
2987
|
-
* @param {
|
|
2987
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
2988
2988
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
2989
2989
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
2990
2990
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -2993,7 +2993,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
2993
2993
|
* @param {Number} [siteId] Optional site id. At most one of siteId or appId may be provided.
|
|
2994
2994
|
* @param {Number} [appId] Optional application id. At most one of siteId or appId may be provided.
|
|
2995
2995
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeTenantConfigResponse} and HTTP response
|
|
2996
|
-
*/},{key:"testTenantStripeConnectionWithHttpInfo",value:function testTenantStripeConnectionWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config/test','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2996
|
+
*/},{key:"testTenantStripeConnectionWithHttpInfo",value:function testTenantStripeConnectionWithHttpInfo(opts){opts=opts||{};var postBody=null;var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi'),'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config/test','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
2997
2997
|
* Test Stripe connection for tenant
|
|
2998
2998
|
* Tests the Stripe configuration for a tenant. Requires CATEGORY_ADMIN on the target tenant. Optional siteId or appId (at most one) identify the tenant; if omitted, the request root is used.
|
|
2999
2999
|
* @param {Object} opts Optional parameters
|
|
@@ -3003,7 +3003,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
3003
3003
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3004
3004
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3005
3005
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3006
|
-
* @param {
|
|
3006
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3007
3007
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3008
3008
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3009
3009
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3024,7 +3024,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
3024
3024
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3025
3025
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3026
3026
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3027
|
-
* @param {
|
|
3027
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3028
3028
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3029
3029
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3030
3030
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3033,7 +3033,7 @@ if(transferInput===undefined||transferInput===null){throw new Error("Missing the
|
|
|
3033
3033
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
|
|
3034
3034
|
*/},{key:"updateAccountLinkWithHttpInfo",value:function updateAccountLinkWithHttpInfo(accountID,createStripeAccountInput,opts){opts=opts||{};var postBody=createStripeAccountInput;// verify the required parameter 'accountID' is set
|
|
3035
3035
|
if(accountID===undefined||accountID===null){throw new Error("Missing the required parameter 'accountID' when calling updateAccountLink");}// verify the required parameter 'createStripeAccountInput' is set
|
|
3036
|
-
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling updateAccountLink");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3036
|
+
if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw new Error("Missing the required parameter 'createStripeAccountInput' when calling updateAccountLink");}var pathParams={'accountID':accountID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CreateAccountResponse["default"];return this.apiClient.callApi('/payments/stripe/account/{accountID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3037
3037
|
* Creates an Account Link which enables the user to update their Stripe account details
|
|
3038
3038
|
* Creates an Account Link which enables the user to update their Stripe account details
|
|
3039
3039
|
* @param {Number} accountID The accountid to update
|
|
@@ -3045,7 +3045,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
3045
3045
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3046
3046
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3047
3047
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3048
|
-
* @param {
|
|
3048
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3049
3049
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3050
3050
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3051
3051
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3064,7 +3064,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
3064
3064
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3065
3065
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3066
3066
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3067
|
-
* @param {
|
|
3067
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3068
3068
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3069
3069
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3070
3070
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3073,7 +3073,7 @@ if(createStripeAccountInput===undefined||createStripeAccountInput===null){throw
|
|
|
3073
3073
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
|
|
3074
3074
|
*/},{key:"updateCustomerWithHttpInfo",value:function updateCustomerWithHttpInfo(customerID,createStripeCustomerInput,opts){opts=opts||{};var postBody=createStripeCustomerInput;// verify the required parameter 'customerID' is set
|
|
3075
3075
|
if(customerID===undefined||customerID===null){throw new Error("Missing the required parameter 'customerID' when calling updateCustomer");}// verify the required parameter 'createStripeCustomerInput' is set
|
|
3076
|
-
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling updateCustomer");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3076
|
+
if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){throw new Error("Missing the required parameter 'createStripeCustomerInput' when calling updateCustomer");}var pathParams={'customerID':customerID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_CustomerResponse["default"];return this.apiClient.callApi('/payments/stripe/customer/{customerID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3077
3077
|
* Updates the customer account and returns a client secret to enable user to update their details on Stripe
|
|
3078
3078
|
* Creates a client secret to enable user to update their Stripe details
|
|
3079
3079
|
* @param {Number} customerID The customerid to update
|
|
@@ -3085,7 +3085,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
3085
3085
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3086
3086
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3087
3087
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3088
|
-
* @param {
|
|
3088
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3089
3089
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3090
3090
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3091
3091
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3104,7 +3104,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
3104
3104
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3105
3105
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3106
3106
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3107
|
-
* @param {
|
|
3107
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3108
3108
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3109
3109
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3110
3110
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3113,7 +3113,7 @@ if(createStripeCustomerInput===undefined||createStripeCustomerInput===null){thro
|
|
|
3113
3113
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
|
|
3114
3114
|
*/},{key:"updatePriceWithHttpInfo",value:function updatePriceWithHttpInfo(priceId,priceInput,opts){opts=opts||{};var postBody=priceInput;// verify the required parameter 'priceId' is set
|
|
3115
3115
|
if(priceId===undefined||priceId===null){throw new Error("Missing the required parameter 'priceId' when calling updatePrice");}// verify the required parameter 'priceInput' is set
|
|
3116
|
-
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3116
|
+
if(priceInput===undefined||priceInput===null){throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");}var pathParams={'priceId':priceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PriceResponse["default"];return this.apiClient.callApi('/payments/stripe/price/{priceId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3117
3117
|
* Updates a price
|
|
3118
3118
|
* Updates an existing price (only active status and metadata can be updated)
|
|
3119
3119
|
* @param {String} priceId The price ID
|
|
@@ -3125,7 +3125,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
3125
3125
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3126
3126
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3127
3127
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3128
|
-
* @param {
|
|
3128
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3129
3129
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3130
3130
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3131
3131
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3145,7 +3145,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
3145
3145
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3146
3146
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3147
3147
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3148
|
-
* @param {
|
|
3148
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3149
3149
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3150
3150
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3151
3151
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3155,7 +3155,7 @@ if(priceInput===undefined||priceInput===null){throw new Error("Missing the requi
|
|
|
3155
3155
|
*/},{key:"updateStripeInvoiceLineItemWithHttpInfo",value:function updateStripeInvoiceLineItemWithHttpInfo(invoiceId,lineItemId,invoiceLineItemInput,opts){opts=opts||{};var postBody=invoiceLineItemInput;// verify the required parameter 'invoiceId' is set
|
|
3156
3156
|
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling updateStripeInvoiceLineItem");}// verify the required parameter 'lineItemId' is set
|
|
3157
3157
|
if(lineItemId===undefined||lineItemId===null){throw new Error("Missing the required parameter 'lineItemId' when calling updateStripeInvoiceLineItem");}// verify the required parameter 'invoiceLineItemInput' is set
|
|
3158
|
-
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling updateStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','PATCH',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3158
|
+
if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Error("Missing the required parameter 'invoiceLineItemInput' when calling updateStripeInvoiceLineItem");}var pathParams={'invoiceId':invoiceId,'lineItemId':lineItemId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/line-item/{lineItemId}','PATCH',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3159
3159
|
* Updates a line item quantity on a draft invoice
|
|
3160
3160
|
* Updates the quantity of a line item on a draft invoice. Only draft invoices can be edited.
|
|
3161
3161
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -3168,7 +3168,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
3168
3168
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3169
3169
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3170
3170
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3171
|
-
* @param {
|
|
3171
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3172
3172
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3173
3173
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3174
3174
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3186,7 +3186,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
3186
3186
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3187
3187
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3188
3188
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3189
|
-
* @param {
|
|
3189
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3190
3190
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3191
3191
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3192
3192
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3195,7 +3195,7 @@ if(invoiceLineItemInput===undefined||invoiceLineItemInput===null){throw new Erro
|
|
|
3195
3195
|
* @param {module:model/PaymentMethodInput} [paymentMethodInput] The payment method data
|
|
3196
3196
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
|
|
3197
3197
|
*/},{key:"updateStripePaymentMethodWithHttpInfo",value:function updateStripePaymentMethodWithHttpInfo(paymentMethodID,opts){opts=opts||{};var postBody=opts['paymentMethodInput'];// verify the required parameter 'paymentMethodID' is set
|
|
3198
|
-
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3198
|
+
if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");}var pathParams={'paymentMethodID':paymentMethodID};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PaymentMethodResponse["default"];return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3199
3199
|
* Adds payment methods for the customer stored in stripe
|
|
3200
3200
|
* Retrieves the payment methods for the customer stored in stripe
|
|
3201
3201
|
* @param {String} paymentMethodID The id of the payment method to update
|
|
@@ -3206,7 +3206,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
3206
3206
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3207
3207
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3208
3208
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3209
|
-
* @param {
|
|
3209
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3210
3210
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3211
3211
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3212
3212
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3226,7 +3226,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
3226
3226
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3227
3227
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3228
3228
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3229
|
-
* @param {
|
|
3229
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3230
3230
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3231
3231
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3232
3232
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3235,7 +3235,7 @@ if(paymentMethodID===undefined||paymentMethodID===null){throw new Error("Missing
|
|
|
3235
3235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PricebookResponse} and HTTP response
|
|
3236
3236
|
*/},{key:"updateStripePricebookWithHttpInfo",value:function updateStripePricebookWithHttpInfo(id,pricebookInput,opts){opts=opts||{};var postBody=pricebookInput;// verify the required parameter 'id' is set
|
|
3237
3237
|
if(id===undefined||id===null){throw new Error("Missing the required parameter 'id' when calling updateStripePricebook");}// verify the required parameter 'pricebookInput' is set
|
|
3238
|
-
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling updateStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{id}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3238
|
+
if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing the required parameter 'pricebookInput' when calling updateStripePricebook");}var pathParams={'id':id};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_PricebookResponse["default"];return this.apiClient.callApi('/payments/stripe/pricebook/{id}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3239
3239
|
* Updates a pricebook
|
|
3240
3240
|
* Updates an existing pricebook
|
|
3241
3241
|
* @param {Number} id The pricebook ID
|
|
@@ -3247,7 +3247,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
3247
3247
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3248
3248
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3249
3249
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3250
|
-
* @param {
|
|
3250
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3251
3251
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3252
3252
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3253
3253
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3266,7 +3266,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
3266
3266
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3267
3267
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3268
3268
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3269
|
-
* @param {
|
|
3269
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3270
3270
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3271
3271
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3272
3272
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3275,7 +3275,7 @@ if(pricebookInput===undefined||pricebookInput===null){throw new Error("Missing t
|
|
|
3275
3275
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
|
|
3276
3276
|
*/},{key:"updateStripeProductWithHttpInfo",value:function updateStripeProductWithHttpInfo(productId,productInput,opts){opts=opts||{};var postBody=productInput;// verify the required parameter 'productId' is set
|
|
3277
3277
|
if(productId===undefined||productId===null){throw new Error("Missing the required parameter 'productId' when calling updateStripeProduct");}// verify the required parameter 'productInput' is set
|
|
3278
|
-
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3278
|
+
if(productInput===undefined||productInput===null){throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");}var pathParams={'productId':productId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductResponse["default"];return this.apiClient.callApi('/payments/stripe/product/{productId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3279
3279
|
* Updates a product
|
|
3280
3280
|
* Updates an existing product
|
|
3281
3281
|
* @param {String} productId The product ID
|
|
@@ -3287,7 +3287,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
3287
3287
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3288
3288
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3289
3289
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3290
|
-
* @param {
|
|
3290
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3291
3291
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3292
3292
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3293
3293
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3306,7 +3306,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
3306
3306
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3307
3307
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3308
3308
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3309
|
-
* @param {
|
|
3309
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3310
3310
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3311
3311
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3312
3312
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3315,7 +3315,7 @@ if(productInput===undefined||productInput===null){throw new Error("Missing the r
|
|
|
3315
3315
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
|
|
3316
3316
|
*/},{key:"updateStripeProductCategoryWithHttpInfo",value:function updateStripeProductCategoryWithHttpInfo(categoryId,productCategoryInput,opts){opts=opts||{};var postBody=productCategoryInput;// verify the required parameter 'categoryId' is set
|
|
3317
3317
|
if(categoryId===undefined||categoryId===null){throw new Error("Missing the required parameter 'categoryId' when calling updateStripeProductCategory");}// verify the required parameter 'productCategoryInput' is set
|
|
3318
|
-
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3318
|
+
if(productCategoryInput===undefined||productCategoryInput===null){throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");}var pathParams={'categoryId':categoryId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_ProductCategoryResponse["default"];return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3319
3319
|
* Updates a category
|
|
3320
3320
|
* Updates an existing category
|
|
3321
3321
|
* @param {Number} categoryId The category ID
|
|
@@ -3327,7 +3327,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
3327
3327
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3328
3328
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3329
3329
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3330
|
-
* @param {
|
|
3330
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3331
3331
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3332
3332
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3333
3333
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3346,7 +3346,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
3346
3346
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3347
3347
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3348
3348
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3349
|
-
* @param {
|
|
3349
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3350
3350
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3351
3351
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3352
3352
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3355,7 +3355,7 @@ if(productCategoryInput===undefined||productCategoryInput===null){throw new Erro
|
|
|
3355
3355
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
|
|
3356
3356
|
*/},{key:"updateStripeSubscriptionWithHttpInfo",value:function updateStripeSubscriptionWithHttpInfo(subscriptionId,subscriptionInput,opts){opts=opts||{};var postBody=subscriptionInput;// verify the required parameter 'subscriptionId' is set
|
|
3357
3357
|
if(subscriptionId===undefined||subscriptionId===null){throw new Error("Missing the required parameter 'subscriptionId' when calling updateStripeSubscription");}// verify the required parameter 'subscriptionInput' is set
|
|
3358
|
-
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3358
|
+
if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");}var pathParams={'subscriptionId':subscriptionId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_SubscriptionResponse["default"];return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3359
3359
|
* Updates a subscription
|
|
3360
3360
|
* Updates an existing subscription
|
|
3361
3361
|
* @param {String} subscriptionId The subscription ID
|
|
@@ -3367,7 +3367,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
3367
3367
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3368
3368
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3369
3369
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3370
|
-
* @param {
|
|
3370
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3371
3371
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3372
3372
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3373
3373
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3385,7 +3385,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
3385
3385
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3386
3386
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3387
3387
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3388
|
-
* @param {
|
|
3388
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3389
3389
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3390
3390
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3391
3391
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3395,7 +3395,7 @@ if(subscriptionInput===undefined||subscriptionInput===null){throw new Error("Mis
|
|
|
3395
3395
|
* @param {Number} [appId] Optional application id. At most one of siteId or appId may be provided.
|
|
3396
3396
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeTenantConfigResponse} and HTTP response
|
|
3397
3397
|
*/},{key:"updateTenantStripeConfigWithHttpInfo",value:function updateTenantStripeConfigWithHttpInfo(stripeTenantConfigRequest,opts){opts=opts||{};var postBody=stripeTenantConfigRequest;// verify the required parameter 'stripeTenantConfigRequest' is set
|
|
3398
|
-
if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){throw new Error("Missing the required parameter 'stripeTenantConfigRequest' when calling updateTenantStripeConfig");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys'],'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3398
|
+
if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){throw new Error("Missing the required parameter 'stripeTenantConfigRequest' when calling updateTenantStripeConfig");}var pathParams={};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi'),'siteId':opts['siteId'],'appId':opts['appId']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=['application/json'];var accepts=['application/json'];var returnType=_StripeTenantConfigResponse["default"];return this.apiClient.callApi('/payments/stripe/config','PUT',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3399
3399
|
* Update Stripe config for tenant
|
|
3400
3400
|
* Updates the Stripe configuration for a tenant. Requires CATEGORY_ADMIN on the target tenant (site, app, or root). Optional siteId or appId (at most one) identify the tenant; if omitted, the request root is used. All request fields are optional; only provided fields are updated.
|
|
3401
3401
|
* @param {module:model/StripeTenantConfigRequest} stripeTenantConfigRequest Stripe config fields to update (all optional). Request body is required.
|
|
@@ -3406,7 +3406,7 @@ if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){thro
|
|
|
3406
3406
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3407
3407
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3408
3408
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3409
|
-
* @param {
|
|
3409
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3410
3410
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3411
3411
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3412
3412
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3426,7 +3426,7 @@ if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){thro
|
|
|
3426
3426
|
* @param {Array.<String>} [cachekey] Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3427
3427
|
* @param {module:model/String} [cachescope] Cache scope for the REST request cache layer.
|
|
3428
3428
|
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3429
|
-
* @param {
|
|
3429
|
+
* @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3430
3430
|
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3431
3431
|
* @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3432
3432
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
@@ -3434,7 +3434,7 @@ if(stripeTenantConfigRequest===undefined||stripeTenantConfigRequest===null){thro
|
|
|
3434
3434
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
3435
3435
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InvoiceResponse} and HTTP response
|
|
3436
3436
|
*/},{key:"voidStripeInvoiceWithHttpInfo",value:function voidStripeInvoiceWithHttpInfo(invoiceId,opts){opts=opts||{};var postBody=null;// verify the required parameter 'invoiceId' is set
|
|
3437
|
-
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling voidStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':opts['invalidationkeys']};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/void','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3437
|
+
if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the required parameter 'invoiceId' when calling voidStripeInvoice");}var pathParams={'invoiceId':invoiceId};var queryParams={'cacheduration':opts['cacheduration'],'cachegroup':this.apiClient.buildCollectionParam(opts['cachegroup'],'multi'),'cachekey':this.apiClient.buildCollectionParam(opts['cachekey'],'multi'),'cachescope':opts['cachescope'],'cacheuser':this.apiClient.buildCollectionParam(opts['cacheuser'],'multi'),'invalidationkeys':this.apiClient.buildCollectionParam(opts['invalidationkeys'],'multi')};var headerParams={'Authorization':opts['authorization'],'zeusportal-postas-app':opts['zeusportalPostasApp'],'zeusportal-postas-org':opts['zeusportalPostasOrg'],'zeusportal-postas':opts['zeusportalPostas'],'zeusportal-postas-site':opts['zeusportalPostasSite'],'transactionid':opts['transactionid']};var formParams={};var authNames=['NexusGraphAPIAuth','NexusGraphAPIKey'];var contentTypes=[];var accepts=['application/json'];var returnType=_InvoiceResponse["default"];return this.apiClient.callApi('/payments/stripe/invoice/{invoiceId}/void','POST',pathParams,queryParams,headerParams,formParams,postBody,authNames,contentTypes,accepts,returnType,null);}/**
|
|
3438
3438
|
* Voids a draft invoice
|
|
3439
3439
|
* Voids a draft invoice (Stripe's only way to cancel an invoice)
|
|
3440
3440
|
* @param {String} invoiceId Stripe invoice ID
|
|
@@ -3445,7 +3445,7 @@ if(invoiceId===undefined||invoiceId===null){throw new Error("Missing the require
|
|
|
3445
3445
|
* @param {Array.<String>} opts.cachekey Cache key used by the REST request cache layer. May be provided as repeated query params or as a JSON array string.
|
|
3446
3446
|
* @param {module:model/String} opts.cachescope Cache scope for the REST request cache layer.
|
|
3447
3447
|
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user). May be provided as repeated query params.
|
|
3448
|
-
* @param {
|
|
3448
|
+
* @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation. May be provided as repeated query params or as a JSON array string.
|
|
3449
3449
|
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
3450
3450
|
* @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
|
|
3451
3451
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|