loop-client 0.0.1
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/CHANGELOG.md +0 -0
- package/README.md +3 -0
- package/build/const.d.ts +31 -0
- package/build/const.d.ts.map +1 -0
- package/build/const.js +40 -0
- package/build/const.js.map +1 -0
- package/build/errors.d.ts +621 -0
- package/build/errors.d.ts.map +1 -0
- package/build/errors.js +665 -0
- package/build/errors.js.map +1 -0
- package/build/index.d.ts +6 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +27 -0
- package/build/index.js.map +1 -0
- package/build/instrument.d.ts +14 -0
- package/build/instrument.d.ts.map +1 -0
- package/build/instrument.js +75 -0
- package/build/instrument.js.map +1 -0
- package/build/logger.d.ts +6 -0
- package/build/logger.d.ts.map +1 -0
- package/build/logger.js +24 -0
- package/build/logger.js.map +1 -0
- package/build/methods.d.ts +1101 -0
- package/build/methods.d.ts.map +1 -0
- package/build/methods.js +2080 -0
- package/build/methods.js.map +1 -0
- package/build/types/admin.d.ts +56 -0
- package/build/types/admin.d.ts.map +1 -0
- package/build/types/admin.js +18 -0
- package/build/types/admin.js.map +1 -0
- package/build/types/apps.d.ts +214 -0
- package/build/types/apps.d.ts.map +1 -0
- package/build/types/apps.js +81 -0
- package/build/types/apps.js.map +1 -0
- package/build/types/audits.d.ts +10 -0
- package/build/types/audits.d.ts.map +1 -0
- package/build/types/audits.js +3 -0
- package/build/types/audits.js.map +1 -0
- package/build/types/autocomplete.d.ts +13 -0
- package/build/types/autocomplete.d.ts.map +1 -0
- package/build/types/autocomplete.js +3 -0
- package/build/types/autocomplete.js.map +1 -0
- package/build/types/boards.d.ts +57 -0
- package/build/types/boards.d.ts.map +1 -0
- package/build/types/boards.js +28 -0
- package/build/types/boards.js.map +1 -0
- package/build/types/bots.d.ts +16 -0
- package/build/types/bots.d.ts.map +1 -0
- package/build/types/bots.js +3 -0
- package/build/types/bots.js.map +1 -0
- package/build/types/channels.d.ts +279 -0
- package/build/types/channels.d.ts.map +1 -0
- package/build/types/channels.js +62 -0
- package/build/types/channels.js.map +1 -0
- package/build/types/cloud.d.ts +155 -0
- package/build/types/cloud.d.ts.map +1 -0
- package/build/types/cloud.js +12 -0
- package/build/types/cloud.js.map +1 -0
- package/build/types/common.d.ts +5 -0
- package/build/types/common.d.ts.map +1 -0
- package/build/types/common.js +3 -0
- package/build/types/common.js.map +1 -0
- package/build/types/compliance.d.ts +14 -0
- package/build/types/compliance.d.ts.map +1 -0
- package/build/types/compliance.js +3 -0
- package/build/types/compliance.js.map +1 -0
- package/build/types/config.d.ts +966 -0
- package/build/types/config.d.ts.map +1 -0
- package/build/types/config.js +17 -0
- package/build/types/config.js.map +1 -0
- package/build/types/data-retention.d.ts +31 -0
- package/build/types/data-retention.d.ts.map +1 -0
- package/build/types/data-retention.js +3 -0
- package/build/types/data-retention.js.map +1 -0
- package/build/types/dialog.d.ts +63 -0
- package/build/types/dialog.d.ts.map +1 -0
- package/build/types/dialog.js +26 -0
- package/build/types/dialog.js.map +1 -0
- package/build/types/drafts.d.ts +15 -0
- package/build/types/drafts.d.ts.map +1 -0
- package/build/types/drafts.js +3 -0
- package/build/types/drafts.js.map +1 -0
- package/build/types/emojis.d.ts +52 -0
- package/build/types/emojis.d.ts.map +1 -0
- package/build/types/emojis.js +19 -0
- package/build/types/emojis.js.map +1 -0
- package/build/types/files.d.ts +53 -0
- package/build/types/files.d.ts.map +1 -0
- package/build/types/files.js +3 -0
- package/build/types/files.js.map +1 -0
- package/build/types/groups.d.ts +143 -0
- package/build/types/groups.d.ts.map +1 -0
- package/build/types/groups.js +14 -0
- package/build/types/groups.js.map +1 -0
- package/build/types/index.d.ts +46 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/index.js +62 -0
- package/build/types/index.js.map +1 -0
- package/build/types/integrations.d.ts +108 -0
- package/build/types/integrations.d.ts.map +1 -0
- package/build/types/integrations.js +15 -0
- package/build/types/integrations.js.map +1 -0
- package/build/types/jobs.d.ts +28 -0
- package/build/types/jobs.d.ts.map +1 -0
- package/build/types/jobs.js +22 -0
- package/build/types/jobs.js.map +1 -0
- package/build/types/limits.d.ts +5 -0
- package/build/types/limits.d.ts.map +1 -0
- package/build/types/limits.js +3 -0
- package/build/types/limits.js.map +1 -0
- package/build/types/marketplace.d.ts +43 -0
- package/build/types/marketplace.d.ts.map +1 -0
- package/build/types/marketplace.js +21 -0
- package/build/types/marketplace.js.map +1 -0
- package/build/types/metadata.d.ts +16 -0
- package/build/types/metadata.d.ts.map +1 -0
- package/build/types/metadata.js +3 -0
- package/build/types/metadata.js.map +1 -0
- package/build/types/methods/bots.methods.d.ts +77 -0
- package/build/types/methods/bots.methods.d.ts.map +1 -0
- package/build/types/methods/bots.methods.js +3 -0
- package/build/types/methods/bots.methods.js.map +1 -0
- package/build/types/methods/brand.methods.d.ts +15 -0
- package/build/types/methods/brand.methods.d.ts.map +1 -0
- package/build/types/methods/brand.methods.js +3 -0
- package/build/types/methods/brand.methods.js.map +1 -0
- package/build/types/methods/channels.methods.d.ts +473 -0
- package/build/types/methods/channels.methods.d.ts.map +1 -0
- package/build/types/methods/channels.methods.js +3 -0
- package/build/types/methods/channels.methods.js.map +1 -0
- package/build/types/methods/cloud.methods.d.ts +14 -0
- package/build/types/methods/cloud.methods.d.ts.map +1 -0
- package/build/types/methods/cloud.methods.js +3 -0
- package/build/types/methods/cloud.methods.js.map +1 -0
- package/build/types/methods/common.methods.d.ts +87 -0
- package/build/types/methods/common.methods.d.ts.map +1 -0
- package/build/types/methods/common.methods.js +4 -0
- package/build/types/methods/common.methods.js.map +1 -0
- package/build/types/methods/compliance.methods.d.ts +32 -0
- package/build/types/methods/compliance.methods.d.ts.map +1 -0
- package/build/types/methods/compliance.methods.js +3 -0
- package/build/types/methods/compliance.methods.js.map +1 -0
- package/build/types/methods/data-retention.methods.d.ts +67 -0
- package/build/types/methods/data-retention.methods.d.ts.map +1 -0
- package/build/types/methods/data-retention.methods.js +3 -0
- package/build/types/methods/data-retention.methods.js.map +1 -0
- package/build/types/methods/emojis.methods.d.ts +32 -0
- package/build/types/methods/emojis.methods.d.ts.map +1 -0
- package/build/types/methods/emojis.methods.js +3 -0
- package/build/types/methods/emojis.methods.js.map +1 -0
- package/build/types/methods/files.methods.d.ts +139 -0
- package/build/types/methods/files.methods.d.ts.map +1 -0
- package/build/types/methods/files.methods.js +3 -0
- package/build/types/methods/files.methods.js.map +1 -0
- package/build/types/methods/groups.methods.d.ts +113 -0
- package/build/types/methods/groups.methods.d.ts.map +1 -0
- package/build/types/methods/groups.methods.js +3 -0
- package/build/types/methods/groups.methods.js.map +1 -0
- package/build/types/methods/index.d.ts +28 -0
- package/build/types/methods/index.d.ts.map +1 -0
- package/build/types/methods/index.js +44 -0
- package/build/types/methods/index.js.map +1 -0
- package/build/types/methods/integrations.methods.d.ts +191 -0
- package/build/types/methods/integrations.methods.d.ts.map +1 -0
- package/build/types/methods/integrations.methods.js +3 -0
- package/build/types/methods/integrations.methods.js.map +1 -0
- package/build/types/methods/interactive.methods.d.ts +38 -0
- package/build/types/methods/interactive.methods.d.ts.map +1 -0
- package/build/types/methods/interactive.methods.js +3 -0
- package/build/types/methods/interactive.methods.js.map +1 -0
- package/build/types/methods/jobs.methods.d.ts +20 -0
- package/build/types/methods/jobs.methods.d.ts.map +1 -0
- package/build/types/methods/jobs.methods.js +3 -0
- package/build/types/methods/jobs.methods.js.map +1 -0
- package/build/types/methods/playbook-runs.methods.d.ts +89 -0
- package/build/types/methods/playbook-runs.methods.d.ts.map +1 -0
- package/build/types/methods/playbook-runs.methods.js +3 -0
- package/build/types/methods/playbook-runs.methods.js.map +1 -0
- package/build/types/methods/playbooks.methods.d.ts +156 -0
- package/build/types/methods/playbooks.methods.d.ts.map +1 -0
- package/build/types/methods/playbooks.methods.js +3 -0
- package/build/types/methods/playbooks.methods.js.map +1 -0
- package/build/types/methods/plugins.methods.d.ts +31 -0
- package/build/types/methods/plugins.methods.d.ts.map +1 -0
- package/build/types/methods/plugins.methods.js +3 -0
- package/build/types/methods/plugins.methods.js.map +1 -0
- package/build/types/methods/posts.methods.d.ts +216 -0
- package/build/types/methods/posts.methods.d.ts.map +1 -0
- package/build/types/methods/posts.methods.js +3 -0
- package/build/types/methods/posts.methods.js.map +1 -0
- package/build/types/methods/preferences.methods.d.ts +12 -0
- package/build/types/methods/preferences.methods.d.ts.map +1 -0
- package/build/types/methods/preferences.methods.js +3 -0
- package/build/types/methods/preferences.methods.js.map +1 -0
- package/build/types/methods/reactions.methods.d.ts +15 -0
- package/build/types/methods/reactions.methods.d.ts.map +1 -0
- package/build/types/methods/reactions.methods.js +3 -0
- package/build/types/methods/reactions.methods.js.map +1 -0
- package/build/types/methods/reports.methods.d.ts +4 -0
- package/build/types/methods/reports.methods.d.ts.map +1 -0
- package/build/types/methods/reports.methods.js +3 -0
- package/build/types/methods/reports.methods.js.map +1 -0
- package/build/types/methods/roles.methods.d.ts +14 -0
- package/build/types/methods/roles.methods.d.ts.map +1 -0
- package/build/types/methods/roles.methods.js +3 -0
- package/build/types/methods/roles.methods.js.map +1 -0
- package/build/types/methods/schemes.methods.d.ts +30 -0
- package/build/types/methods/schemes.methods.d.ts.map +1 -0
- package/build/types/methods/schemes.methods.js +3 -0
- package/build/types/methods/schemes.methods.js.map +1 -0
- package/build/types/methods/system.methods.d.ts +107 -0
- package/build/types/methods/system.methods.d.ts.map +1 -0
- package/build/types/methods/system.methods.js +3 -0
- package/build/types/methods/system.methods.js.map +1 -0
- package/build/types/methods/teams.methods.d.ts +161 -0
- package/build/types/methods/teams.methods.d.ts.map +1 -0
- package/build/types/methods/teams.methods.js +3 -0
- package/build/types/methods/teams.methods.js.map +1 -0
- package/build/types/methods/terms-of-service.methods.d.ts +24 -0
- package/build/types/methods/terms-of-service.methods.d.ts.map +1 -0
- package/build/types/methods/terms-of-service.methods.js +3 -0
- package/build/types/methods/terms-of-service.methods.js.map +1 -0
- package/build/types/methods/uploads.methods.d.ts +13 -0
- package/build/types/methods/uploads.methods.d.ts.map +1 -0
- package/build/types/methods/uploads.methods.js +3 -0
- package/build/types/methods/uploads.methods.js.map +1 -0
- package/build/types/methods/users.methods.d.ts +257 -0
- package/build/types/methods/users.methods.d.ts.map +1 -0
- package/build/types/methods/users.methods.js +3 -0
- package/build/types/methods/users.methods.js.map +1 -0
- package/build/types/mfa.d.ts +5 -0
- package/build/types/mfa.d.ts.map +1 -0
- package/build/types/mfa.js +3 -0
- package/build/types/mfa.js.map +1 -0
- package/build/types/playbooks.d.ts +221 -0
- package/build/types/playbooks.d.ts.map +1 -0
- package/build/types/playbooks.js +3 -0
- package/build/types/playbooks.js.map +1 -0
- package/build/types/plugins.d.ts +101 -0
- package/build/types/plugins.d.ts.map +1 -0
- package/build/types/plugins.js +3 -0
- package/build/types/plugins.js.map +1 -0
- package/build/types/posts.d.ts +290 -0
- package/build/types/posts.d.ts.map +1 -0
- package/build/types/posts.js +88 -0
- package/build/types/posts.js.map +1 -0
- package/build/types/preferences.d.ts +7 -0
- package/build/types/preferences.d.ts.map +1 -0
- package/build/types/preferences.js +3 -0
- package/build/types/preferences.js.map +1 -0
- package/build/types/product-notices.d.ts +27 -0
- package/build/types/product-notices.d.ts.map +1 -0
- package/build/types/product-notices.js +8 -0
- package/build/types/product-notices.js.map +1 -0
- package/build/types/products.d.ts +8 -0
- package/build/types/products.d.ts.map +1 -0
- package/build/types/products.js +3 -0
- package/build/types/products.js.map +1 -0
- package/build/types/reactions.d.ts +7 -0
- package/build/types/reactions.d.ts.map +1 -0
- package/build/types/reactions.js +3 -0
- package/build/types/reactions.js.map +1 -0
- package/build/types/reports.d.ts +66 -0
- package/build/types/reports.d.ts.map +1 -0
- package/build/types/reports.js +30 -0
- package/build/types/reports.js.map +1 -0
- package/build/types/requests.d.ts +61 -0
- package/build/types/requests.d.ts.map +1 -0
- package/build/types/requests.js +12 -0
- package/build/types/requests.js.map +1 -0
- package/build/types/responses/common.responses.d.ts +23 -0
- package/build/types/responses/common.responses.d.ts.map +1 -0
- package/build/types/responses/common.responses.js +3 -0
- package/build/types/responses/common.responses.js.map +1 -0
- package/build/types/responses/index.d.ts +5 -0
- package/build/types/responses/index.d.ts.map +1 -0
- package/build/types/responses/index.js +21 -0
- package/build/types/responses/index.js.map +1 -0
- package/build/types/responses/playbooks.responses.d.ts +19 -0
- package/build/types/responses/playbooks.responses.d.ts.map +1 -0
- package/build/types/responses/playbooks.responses.js +3 -0
- package/build/types/responses/playbooks.responses.js.map +1 -0
- package/build/types/responses/posts.responses.d.ts +32 -0
- package/build/types/responses/posts.responses.d.ts.map +1 -0
- package/build/types/responses/posts.responses.js +8 -0
- package/build/types/responses/posts.responses.js.map +1 -0
- package/build/types/responses/system.responses.d.ts +87 -0
- package/build/types/responses/system.responses.d.ts.map +1 -0
- package/build/types/responses/system.responses.js +3 -0
- package/build/types/responses/system.responses.js.map +1 -0
- package/build/types/roles.d.ts +41 -0
- package/build/types/roles.d.ts.map +1 -0
- package/build/types/roles.js +33 -0
- package/build/types/roles.js.map +1 -0
- package/build/types/saml.d.ts +11 -0
- package/build/types/saml.d.ts.map +1 -0
- package/build/types/saml.js +3 -0
- package/build/types/saml.js.map +1 -0
- package/build/types/schemes.d.ts +28 -0
- package/build/types/schemes.d.ts.map +1 -0
- package/build/types/schemes.js +9 -0
- package/build/types/schemes.js.map +1 -0
- package/build/types/search.d.ts +13 -0
- package/build/types/search.d.ts.map +1 -0
- package/build/types/search.js +3 -0
- package/build/types/search.js.map +1 -0
- package/build/types/setup.d.ts +5 -0
- package/build/types/setup.d.ts.map +1 -0
- package/build/types/setup.js +3 -0
- package/build/types/setup.js.map +1 -0
- package/build/types/state.d.ts +464 -0
- package/build/types/state.d.ts.map +1 -0
- package/build/types/state.js +3 -0
- package/build/types/state.js.map +1 -0
- package/build/types/store.d.ts +65 -0
- package/build/types/store.d.ts.map +1 -0
- package/build/types/store.js +3 -0
- package/build/types/store.js.map +1 -0
- package/build/types/teams.d.ts +94 -0
- package/build/types/teams.d.ts.map +1 -0
- package/build/types/teams.js +9 -0
- package/build/types/teams.js.map +1 -0
- package/build/types/terms-of-service.d.ts +7 -0
- package/build/types/terms-of-service.d.ts.map +1 -0
- package/build/types/terms-of-service.js +3 -0
- package/build/types/terms-of-service.js.map +1 -0
- package/build/types/threads.d.ts +40 -0
- package/build/types/threads.d.ts.map +1 -0
- package/build/types/threads.js +8 -0
- package/build/types/threads.js.map +1 -0
- package/build/types/typing.d.ts +6 -0
- package/build/types/typing.d.ts.map +1 -0
- package/build/types/typing.js +3 -0
- package/build/types/typing.js.map +1 -0
- package/build/types/users.d.ts +281 -0
- package/build/types/users.d.ts.map +1 -0
- package/build/types/users.js +42 -0
- package/build/types/users.js.map +1 -0
- package/build/types/web-client.d.ts +82 -0
- package/build/types/web-client.d.ts.map +1 -0
- package/build/types/web-client.js +17 -0
- package/build/types/web-client.js.map +1 -0
- package/build/utils.d.ts +24 -0
- package/build/utils.d.ts.map +1 -0
- package/build/utils.js +136 -0
- package/build/utils.js.map +1 -0
- package/build/web-client.d.ts +117 -0
- package/build/web-client.d.ts.map +1 -0
- package/build/web-client.js +421 -0
- package/build/web-client.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.methods.d.ts","sourceRoot":"","sources":["../../../src/types/methods/teams.methods.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,KAAK,EACX,SAAS,EACT,MAAM,EACN,gBAAgB,EAChB,MAAM,EACN,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC7D,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB,EAAE,SAAS;IACrE,mCAAmC;IACn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CACnB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB,EAAE,MAAM;CAAG;AAE7E;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,MAAM;CAAG;AAMxD;;;GAGG;AACH,MAAM,WAAW,yBAChB,SAAQ,gBAAgB,EACvB,MAAM,EACN,SAAS;CAAG;AAEd;;;GAGG;AACH,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB,EAAE,MAAM;IACxE,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB,EAAE,MAAM;IAC7E,gDAAgD;IAChD,OAAO,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAChB,SAAQ,gBAAgB,EACvB,MAAM,EACN,MAAM;CAAG;AAEX;;;GAGG;AACH,MAAM,WAAW,0BAChB,SAAQ,gBAAgB,EACvB,MAAM,EACN,MAAM;CAAG;AAEX;;;GAGG;AACH,MAAM,WAAW,6BAChB,SAAQ,gBAAgB,EACvB,MAAM;IACP,mCAAmC;IACnC,QAAQ,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,+BAChB,SAAQ,gBAAgB,EACvB,MAAM,EACN,MAAM;IACP,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,qCAChB,SAAQ,gBAAgB,EACvB,MAAM,EACN,MAAM;IACP,qCAAqC;IACrC,YAAY,EAAE,OAAO,CAAC;IACtB,oCAAoC;IACpC,WAAW,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.methods.js","sourceRoot":"","sources":["../../../src/types/methods/teams.methods.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arguments for creating terms of service.
|
|
3
|
+
*/
|
|
4
|
+
export interface TermsOfServiceCreateArguments {
|
|
5
|
+
/** The text of the terms of service */
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Arguments for updating terms of service.
|
|
10
|
+
*/
|
|
11
|
+
export interface TermsOfServiceUpdateArguments {
|
|
12
|
+
/** The ID of the terms of service */
|
|
13
|
+
id: string;
|
|
14
|
+
/** The new text */
|
|
15
|
+
text: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Arguments for getting terms of service.
|
|
19
|
+
*/
|
|
20
|
+
export interface TermsOfServiceGetArguments {
|
|
21
|
+
/** The ID of the terms of service (optional, gets latest if not provided) */
|
|
22
|
+
id?: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=terms-of-service.methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terms-of-service.methods.d.ts","sourceRoot":"","sources":["../../../src/types/methods/terms-of-service.methods.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC7C,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC7C,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAC1C,6EAA6E;IAC7E,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terms-of-service.methods.js","sourceRoot":"","sources":["../../../src/types/methods/terms-of-service.methods.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface UploadsCreateArguments {
|
|
2
|
+
channel_id: string;
|
|
3
|
+
filename: string;
|
|
4
|
+
file_size: number;
|
|
5
|
+
}
|
|
6
|
+
export interface UploadsGetArguments {
|
|
7
|
+
upload_id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UploadsUploadArguments {
|
|
10
|
+
upload_id: string;
|
|
11
|
+
data: FormData;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=uploads.methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.methods.d.ts","sourceRoot":"","sources":["../../../src/types/methods/uploads.methods.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,QAAQ,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.methods.js","sourceRoot":"","sources":["../../../src/types/methods/uploads.methods.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import type { Stream } from "form-data";
|
|
2
|
+
import type { UserProfile } from "fox-loop-sdk";
|
|
3
|
+
import type { UserCustomStatus, UserStatusValue } from "../users";
|
|
4
|
+
import type { OptionalChannelID, OptionalTeamID, OptionalUserID, Paginated, TokenOverridable, UserID, UserIDMe } from "./common.methods";
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for getting a user's channels.
|
|
7
|
+
*/
|
|
8
|
+
export interface UsersChannelsArguments extends TokenOverridable, Paginated, OptionalUserID {
|
|
9
|
+
/** @description Set to `true` to exclude deleted channels from the list. Default is `false`. */
|
|
10
|
+
exclude_deleted?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @description Mix and match channel types by providing a comma-separated list of any combination of
|
|
13
|
+
* `public_channel`, `private_channel`, `mpim` and `im`. Defaults to `public_channel`.
|
|
14
|
+
*/
|
|
15
|
+
last_delete_at?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @description Browse conversations by a specific user ID's membership.
|
|
18
|
+
* Non-public channels are restricted to those where the calling user shares membership.
|
|
19
|
+
*/
|
|
20
|
+
user_id: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @description Get a user object by providing a user email.
|
|
24
|
+
* Sensitive information will be sanitized out.
|
|
25
|
+
*
|
|
26
|
+
* Requires an active session and for the current session to be able to
|
|
27
|
+
* view another user's email based on the server's privacy settings.
|
|
28
|
+
*/
|
|
29
|
+
export interface UsersGetByEmailArguments extends TokenOverridable {
|
|
30
|
+
/**
|
|
31
|
+
* @description User email
|
|
32
|
+
*/
|
|
33
|
+
email: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @description Get a user object by providing a username.
|
|
37
|
+
* Sensitive information will be sanitized out.
|
|
38
|
+
*
|
|
39
|
+
* Requires an active session but no other permissions.
|
|
40
|
+
*/
|
|
41
|
+
export interface UsersGetByUsernameArguments extends TokenOverridable {
|
|
42
|
+
/**
|
|
43
|
+
* @description Username
|
|
44
|
+
*/
|
|
45
|
+
username: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Arguments for setting a user's profile image.
|
|
49
|
+
*/
|
|
50
|
+
export interface UsersSetImageArguments extends TokenOverridable, UserID {
|
|
51
|
+
/** @description Image file contents. */
|
|
52
|
+
image: Buffer | Stream;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Arguments for deleting a user's profile image.
|
|
56
|
+
*/
|
|
57
|
+
export interface UsersDeleteImageArguments extends TokenOverridable, UserID {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @description Get a page of a list of users. Based on query string parameters, select users from a team, channel, or select users not in a specific channel.
|
|
61
|
+
* Since server version 4.0, some basic sorting is available using the sort query parameter. Sorting is currently only supported when selecting users on a team.
|
|
62
|
+
* Permissions: Requires an active session and (if specified) membership to the channel or team being selected from.
|
|
63
|
+
*/
|
|
64
|
+
export interface UsersListArguments extends TokenOverridable, Paginated {
|
|
65
|
+
/**
|
|
66
|
+
* @description The ID of the team to get users for.
|
|
67
|
+
*/
|
|
68
|
+
in_team?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @description The ID of the team to exclude users for. Must not be used with "in_team" query parameter.
|
|
71
|
+
*/
|
|
72
|
+
not_in_team?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @description Whether or not to list users that are not on any team.
|
|
75
|
+
* This option takes precendence over in_team, in_channel, and not_in_channel.
|
|
76
|
+
*/
|
|
77
|
+
without_team?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @description The ID of the channel to get users for.
|
|
80
|
+
*/
|
|
81
|
+
in_channel?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @description The ID of the channel to exclude users for. Must not be used with "in_channel" query parameter.
|
|
84
|
+
*/
|
|
85
|
+
not_in_channel?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @description The ID of the group to get users for. Must have manage_system permission.
|
|
88
|
+
*/
|
|
89
|
+
in_group?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @description Whether or not to list only users that are active. This option cannot be used along with the inactive option.
|
|
92
|
+
*/
|
|
93
|
+
active?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @description Whether or not to list only users that are deactivated. This option cannot be used along with the active option.
|
|
96
|
+
*/
|
|
97
|
+
inactive?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* @description Returns users that have this role.
|
|
100
|
+
*/
|
|
101
|
+
role?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @description Array used to filter users based on any of the specified system roles
|
|
104
|
+
* @example ['system_admin','system_user'] will return users that are either system admins or system users
|
|
105
|
+
*/
|
|
106
|
+
roles?: string[];
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @description Get a list of users based on search criteria provided in the request body.
|
|
110
|
+
* Searches are typically done against username, full name, nickname and email unless otherwise configured by the server.
|
|
111
|
+
* Requires an active session and read_channel and/or view_team permissions for any channels or teams specified in the request body.
|
|
112
|
+
*/
|
|
113
|
+
export interface UsersSearchArguments {
|
|
114
|
+
term: string;
|
|
115
|
+
/**
|
|
116
|
+
* @description The ID of the team to get users for.
|
|
117
|
+
*/
|
|
118
|
+
in_team_id?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @description The ID of the team to exclude users for. Must not be used with "in_team_id" query parameter.
|
|
121
|
+
*/
|
|
122
|
+
not_in_team_id?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @description The ID of the channel to get users for.
|
|
125
|
+
*/
|
|
126
|
+
in_channel_id?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @description The ID of the channel to exclude users for. Must not be used with "in_channel-id" query parameter.
|
|
129
|
+
*/
|
|
130
|
+
not_in_channel_id?: string;
|
|
131
|
+
group_constrained?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* @description When true, include deactivated users in the results
|
|
134
|
+
*/
|
|
135
|
+
allow_inactive?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* @description Set this to true if you would like to search for users that are not on a team.
|
|
138
|
+
* This option takes precendence over team_id, in_channel_id, and not_in_channel_id.
|
|
139
|
+
*/
|
|
140
|
+
without_team?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* @description The maximum number of users to return in the results
|
|
143
|
+
* Available as of server @version 5.6. Defaults to 100 if not provided or on an earlier server version.
|
|
144
|
+
* @default 100
|
|
145
|
+
*/
|
|
146
|
+
limit?: number;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @description Get a list of users for the purpose of autocompleting based on the provided search term.
|
|
150
|
+
* Specify a combination of team_id and channel_id to filter results further.
|
|
151
|
+
* Requires an active session and view_team and read_channel on any teams or channels used to filter the results further.
|
|
152
|
+
*/
|
|
153
|
+
export interface UsersAutocompleteArguments extends TokenOverridable, OptionalChannelID, OptionalTeamID {
|
|
154
|
+
/**
|
|
155
|
+
* @description Username, nickname first name or last name
|
|
156
|
+
*/
|
|
157
|
+
name: string;
|
|
158
|
+
/**
|
|
159
|
+
* @description The maximum number of users to return in each subresult
|
|
160
|
+
* Available as of server @version 5.6. Defaults to 100 if not provided or on an earlier server version.
|
|
161
|
+
* @default 100
|
|
162
|
+
*/
|
|
163
|
+
limit?: number;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* @description Get a list of users based on search criteria provided in the request body.
|
|
167
|
+
* Searches are typically done against username, full name, nickname and email unless otherwise configured by the server.
|
|
168
|
+
* Requires an active session and read_channel and/or view_team permissions for any channels or teams specified in the request body.
|
|
169
|
+
*/
|
|
170
|
+
export interface UsersSearchArguments extends TokenOverridable {
|
|
171
|
+
/**
|
|
172
|
+
* @description The term to match against username, full name, nickname and email
|
|
173
|
+
*/
|
|
174
|
+
term: string;
|
|
175
|
+
/**
|
|
176
|
+
* @description If provided, only search users on this team
|
|
177
|
+
*/
|
|
178
|
+
team_id?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @description If provided, only search users not on this team
|
|
181
|
+
*/
|
|
182
|
+
not_in_team_id?: string;
|
|
183
|
+
/**
|
|
184
|
+
* @description If provided, only search users in this channel
|
|
185
|
+
*/
|
|
186
|
+
in_channel_id?: string;
|
|
187
|
+
/**
|
|
188
|
+
* @description If provided, only search users not in this channel.
|
|
189
|
+
* Must specifiy team_id when using this option
|
|
190
|
+
*/
|
|
191
|
+
not_in_channel_id?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @description If provided, only search users in this group.
|
|
194
|
+
* Must have manage_system permission.
|
|
195
|
+
*/
|
|
196
|
+
in_group_id?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @description When used with not_in_channel_id or not_in_team_id, returns only the users
|
|
199
|
+
* that are allowed to join the channel or team based on its group constrains.
|
|
200
|
+
*/
|
|
201
|
+
group_constrained?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* @description When true, include deactivated users in the results
|
|
204
|
+
*/
|
|
205
|
+
allow_inactive?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* @description Set this to true if you would like to search for users that are not on a team.
|
|
208
|
+
* This option takes precendence over team_id, in_channel_id, and not_in_channel_id.
|
|
209
|
+
*/
|
|
210
|
+
without_team?: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* @description The maximum number of users to return in the results
|
|
213
|
+
* @version 5.6+ Defaults to 100 if not provided or on an earlier server version.
|
|
214
|
+
*/
|
|
215
|
+
limit?: number;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Arguments for getting a user's profile.
|
|
219
|
+
*/
|
|
220
|
+
export interface UsersProfileGetArguments extends TokenOverridable, UserIDMe {
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Arguments for updating a user's profile.
|
|
224
|
+
*/
|
|
225
|
+
export interface UsersProfileSetArguments extends TokenOverridable, UserIDMe, Partial<Pick<UserProfile, "email" | "username" | "first_name" | "last_name" | "nickname" | "locale" | "position" | "props" | "notify_props">> {
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Arguments for getting a user's status.
|
|
229
|
+
*/
|
|
230
|
+
export interface UsersStatusGetAruments extends TokenOverridable, UserIDMe {
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Arguments for setting a user's status.
|
|
234
|
+
*/
|
|
235
|
+
export interface UsersStatusSetAruments extends TokenOverridable, UserID {
|
|
236
|
+
/**
|
|
237
|
+
* @description User status to set
|
|
238
|
+
*/
|
|
239
|
+
status: UserStatusValue;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Arguments for setting a user's custom status.
|
|
243
|
+
*/
|
|
244
|
+
export interface UsersCustomStatusSetArguments extends TokenOverridable, UserIDMe, UserCustomStatus {
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Arguments for unsetting a user's custom status.
|
|
248
|
+
*/
|
|
249
|
+
export interface UsersCustomStatusUnsetArguments extends TokenOverridable, UserIDMe {
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Arguments for updating a user's roles.
|
|
253
|
+
*/
|
|
254
|
+
export interface UsersUpdateRolesArguments extends UserID {
|
|
255
|
+
roles: string[];
|
|
256
|
+
}
|
|
257
|
+
//# sourceMappingURL=users.methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.methods.d.ts","sourceRoot":"","sources":["../../../src/types/methods/users.methods.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EACX,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,QAAQ,EACR,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,sBAChB,SAAQ,gBAAgB,EACvB,SAAS,EACT,cAAc;IACf,gGAAgG;IAChG,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IACjE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;;GAKG;AACH,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACpE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB,EAAE,MAAM;IACvE,wCAAwC;IACxC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ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ACxD,KAAK,EAAE,MAAM,EAAE,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.methods.js","sourceRoot":"","sources":["../../../src/types/methods/users.methods.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa.d.ts","sourceRoot":"","sources":["../../src/types/mfa.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa.js","sourceRoot":"","sources":["../../src/types/mfa.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
export interface Playbook {
|
|
2
|
+
/**
|
|
3
|
+
* @description A unique, 26 characters long, alphanumeric identifier for the playbook.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* @description The title of the playbook.
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* @description The description of the playbook.
|
|
12
|
+
*/
|
|
13
|
+
description: string;
|
|
14
|
+
/**
|
|
15
|
+
* @description The identifier of the team where the playbook is in.
|
|
16
|
+
*/
|
|
17
|
+
team_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* @description A boolean indicating whether the playbook runs created
|
|
20
|
+
* from this playbook should be public or private.
|
|
21
|
+
*/
|
|
22
|
+
create_public_playbook_run?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @description The playbook creation timestamp,
|
|
25
|
+
* formatted as the number of milliseconds: since the Unix epoch.
|
|
26
|
+
*/
|
|
27
|
+
create_at: number;
|
|
28
|
+
/**
|
|
29
|
+
* @description The playbook deletion timestamp,
|
|
30
|
+
* formatted as the number of milliseconds: since the Unix epoch.
|
|
31
|
+
*
|
|
32
|
+
* It equals 0 if the playbook is not deleted.
|
|
33
|
+
* @default 0
|
|
34
|
+
*/
|
|
35
|
+
delete_at: number;
|
|
36
|
+
/**
|
|
37
|
+
* @description The number of stages defined in this playbook.
|
|
38
|
+
*/
|
|
39
|
+
num_stages: number;
|
|
40
|
+
/**
|
|
41
|
+
* @description The total number of steps from all the: stages defined in this playbook.
|
|
42
|
+
*/
|
|
43
|
+
num_steps: number;
|
|
44
|
+
/**
|
|
45
|
+
* @description The: stages defined in this playbook.
|
|
46
|
+
*/
|
|
47
|
+
checklists: PlaybookChecklist[];
|
|
48
|
+
/**
|
|
49
|
+
* @description The identifiers of all the users that are members of this playbook.
|
|
50
|
+
*/
|
|
51
|
+
member_ids: string[];
|
|
52
|
+
}
|
|
53
|
+
export interface PlaybookChecklist {
|
|
54
|
+
/**
|
|
55
|
+
* @description A unique, 26 characters long, alphanumeric identifier for the checklist.
|
|
56
|
+
*/
|
|
57
|
+
id: string;
|
|
58
|
+
/**
|
|
59
|
+
* @description The title of the checklist.
|
|
60
|
+
*/
|
|
61
|
+
title: string;
|
|
62
|
+
/**
|
|
63
|
+
* @description The list of tasks to do.
|
|
64
|
+
*/
|
|
65
|
+
items: PlaybookTask[];
|
|
66
|
+
}
|
|
67
|
+
export interface PlaybookTask {
|
|
68
|
+
/**
|
|
69
|
+
* @description A unique, 26 characters long, alphanumeric identifier for the checklist item.
|
|
70
|
+
*/
|
|
71
|
+
id: string;
|
|
72
|
+
/**
|
|
73
|
+
* @description The title of the checklist item.
|
|
74
|
+
*/
|
|
75
|
+
title: string;
|
|
76
|
+
/**
|
|
77
|
+
* @description The state of the checklist item.
|
|
78
|
+
* An empty string means that the item is not done.
|
|
79
|
+
*
|
|
80
|
+
* @default ""
|
|
81
|
+
*/
|
|
82
|
+
state: "" | "in_progress" | "closed";
|
|
83
|
+
/**
|
|
84
|
+
* @description The timestamp for the latest modification of the item's state,
|
|
85
|
+
* formatted as the number of milliseconds since the Unix epoch.
|
|
86
|
+
* It equals 0 if the item was never modified.
|
|
87
|
+
* @default 0
|
|
88
|
+
*/
|
|
89
|
+
state_modified: number;
|
|
90
|
+
/**
|
|
91
|
+
* @description The identifier of the user that has been assigned to complete this item.
|
|
92
|
+
* If the item has no assignee, this is an empty string.
|
|
93
|
+
*
|
|
94
|
+
* @default ""
|
|
95
|
+
*/
|
|
96
|
+
assignee_id: string | "";
|
|
97
|
+
/**
|
|
98
|
+
* @description The timestamp for the latest modification of the item's assignee,
|
|
99
|
+
* formatted as the number of milliseconds since the Unix epoch.
|
|
100
|
+
* It equals 0 if the item never got an assignee.
|
|
101
|
+
*
|
|
102
|
+
* @default 0
|
|
103
|
+
*/
|
|
104
|
+
assignee_modified: number;
|
|
105
|
+
/**
|
|
106
|
+
* @description The slash command associated with this item.
|
|
107
|
+
* If the item has no slash command associated, this is an empty string
|
|
108
|
+
*
|
|
109
|
+
* @default ""
|
|
110
|
+
*/
|
|
111
|
+
command: string;
|
|
112
|
+
/**
|
|
113
|
+
* @description The timestamp for the latest execution of the item's command,
|
|
114
|
+
* formatted as the number of milliseconds since the Unix epoch.
|
|
115
|
+
* It equals 0 if the command was never executed.
|
|
116
|
+
*
|
|
117
|
+
* @default 0
|
|
118
|
+
*/
|
|
119
|
+
command_last_run: number;
|
|
120
|
+
/**
|
|
121
|
+
* @description A detailed description of the checklist item, formatted with Markdown.
|
|
122
|
+
*/
|
|
123
|
+
description: string;
|
|
124
|
+
}
|
|
125
|
+
export interface PlaybookRun {
|
|
126
|
+
/**
|
|
127
|
+
* @description A unique, 26 characters long, alphanumeric identifier for the playbook run.
|
|
128
|
+
*/
|
|
129
|
+
id: string;
|
|
130
|
+
/**
|
|
131
|
+
* @description The name of the playbook run.
|
|
132
|
+
*/
|
|
133
|
+
name: string;
|
|
134
|
+
/**
|
|
135
|
+
* @description The description of the playbook run.
|
|
136
|
+
*/
|
|
137
|
+
description: string;
|
|
138
|
+
/**
|
|
139
|
+
* @description True if the playbook run is ongoing; false if the playbook run is ended.
|
|
140
|
+
*/
|
|
141
|
+
is_active: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* @description The identifier of the user that is commanding the playbook run.
|
|
144
|
+
*/
|
|
145
|
+
owner_user_id: string;
|
|
146
|
+
/**
|
|
147
|
+
* @description The identifier of the team where the playbook run's channel is in.
|
|
148
|
+
*/
|
|
149
|
+
team_id: string;
|
|
150
|
+
/**
|
|
151
|
+
* @description The identifier of the playbook run's channel.
|
|
152
|
+
*/
|
|
153
|
+
channel_id: string;
|
|
154
|
+
/**
|
|
155
|
+
* @description The playbook run creation timestamp,
|
|
156
|
+
* formatted as the number of milliseconds since the Unix epoch.
|
|
157
|
+
*/
|
|
158
|
+
create_at: number;
|
|
159
|
+
/**
|
|
160
|
+
* @description The playbook run finish timestamp,
|
|
161
|
+
* formatted as the number of milliseconds since the Unix epoch.
|
|
162
|
+
*
|
|
163
|
+
* It equals 0 if the playbook run is not finished.
|
|
164
|
+
*
|
|
165
|
+
* @default 0
|
|
166
|
+
*/
|
|
167
|
+
end_at: number;
|
|
168
|
+
/**
|
|
169
|
+
* @description The playbook run deletion timestamp,
|
|
170
|
+
* formatted as the number of milliseconds since the Unix epoch.
|
|
171
|
+
*
|
|
172
|
+
* It equals 0 if the playbook run is not deleted.
|
|
173
|
+
*
|
|
174
|
+
* @default 0
|
|
175
|
+
*/
|
|
176
|
+
delete_at: number;
|
|
177
|
+
/**
|
|
178
|
+
* @description Zero-based index of the currently active stage.
|
|
179
|
+
*/
|
|
180
|
+
active_stage: number;
|
|
181
|
+
/**
|
|
182
|
+
* @description The title of the currently active stage.
|
|
183
|
+
*/
|
|
184
|
+
active_stage_title: string;
|
|
185
|
+
/**
|
|
186
|
+
* @description If the playbook run was created from a post,
|
|
187
|
+
* this field contains the identifier of such post.
|
|
188
|
+
* If not, this field is empty.
|
|
189
|
+
*
|
|
190
|
+
* @default ""
|
|
191
|
+
*/
|
|
192
|
+
post_id: string | "";
|
|
193
|
+
/**
|
|
194
|
+
* @description The identifier of the playbook with from which this playbook run was created.
|
|
195
|
+
*/
|
|
196
|
+
playbook_id: string;
|
|
197
|
+
checklists: PlaybookChecklist[];
|
|
198
|
+
}
|
|
199
|
+
export interface PlaybookRunMetadata {
|
|
200
|
+
/**
|
|
201
|
+
* @description Name of the channel associated to the playbook run.
|
|
202
|
+
*/
|
|
203
|
+
channel_name: string;
|
|
204
|
+
/**
|
|
205
|
+
* @description Display name of the channel associated to the playbook run.
|
|
206
|
+
*/
|
|
207
|
+
channel_display_name: string;
|
|
208
|
+
/**
|
|
209
|
+
* @description Name of the team the playbook run is in.
|
|
210
|
+
*/
|
|
211
|
+
team_name: string;
|
|
212
|
+
/**
|
|
213
|
+
* @description Number of users that have been members of the playbook run at any point.
|
|
214
|
+
*/
|
|
215
|
+
num_members: number;
|
|
216
|
+
/**
|
|
217
|
+
* @description Number of posts in the channel associated to the playbook run.
|
|
218
|
+
*/
|
|
219
|
+
total_posts: number;
|
|
220
|
+
}
|
|
221
|
+
//# sourceMappingURL=playbooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playbooks.d.ts","sourceRoot":"","sources":["../../src/types/playbooks.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAEhC;;OAEG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC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